Posted 5 March 2019, 6:23 am EST
Hi,
I want to display date in 24 hour format. but currently its displaying in 12 hour format.
Below is the code:
<wj-flex-grid-column [header]=“‘Updated On’” [binding]=“‘updatedOn’” [isReadOnly]=“true” [width]=“‘*’” [format]=“‘yyyy-MM-dd hh:mm:ss’” [dataType]=“4” >
<ng-template wjFlexGridCellTemplate [cellType]=“‘Cell’” let-cell=“cell”>
<button type=“button” class=“detail-link” (click)=“restoreSelectedRevision($event)” [value]=“cell.item.revisionId”>{{cell.item.updatedOn | date: ‘yyyy-MM-dd hh:mm:ss’}}
Data comming from server is 24 hour format. I want to display as it is. Please help
