Skip to content

Commit

Permalink
fix(examples): use valid date format
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed Jan 16, 2020
1 parent f72539c commit f66703a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/examples/grid-clientside.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h2>{{title}}</h2>

<br />
<span *ngIf="metrics" style="margin-right: 10px">
<b>Metrics:</b> {{metrics.startTime | date: 'yyyy-MM-dd HH:mm aaaaa\'m\''}} | {{metrics.itemCount}} of
<b>Metrics:</b> {{metrics.startTime | date: 'yyyy-MM-dd hh:mm aaaaa\'m\''}} | {{metrics.itemCount}} of
{{metrics.totalItemCount}} items
</span>
<button class="btn btn-default btn-sm" data-test="clear-filters" (click)="angularGrid.filterService.clearFilters()">
Expand Down
2 changes: 1 addition & 1 deletion src/app/examples/grid-graphql.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2>{{title}}</h2>
</div>
<br />
<span *ngIf="metrics">
<b>Metrics:</b> {{metrics.endTime | date: 'yyyy-MM-dd HH:mm aaaaa\'m\''}} | {{metrics.executionTime}}ms
<b>Metrics:</b> {{metrics.endTime | date: 'yyyy-MM-dd hh:mm aaaaa\'m\''}} | {{metrics.executionTime}}ms
| {{metrics.totalItemCount}} items
</span>
<div class="row col-md-12">
Expand Down
2 changes: 1 addition & 1 deletion src/app/examples/grid-localization.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class GridLocalizationComponent implements OnInit {
ofKey: 'OF',
lastUpdateKey: 'LAST_UPDATE',
},
dateFormat: 'yyyy-MM-dd HH:mm aaaaa\'m\'',
dateFormat: 'yyyy-MM-dd hh:mm aaaaa\'m\'',
hideTotalItemCount: false,
hideLastUpdateTimestamp: false,
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/examples/grid-odata.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h2>{{title}}</h2>
</button>
<br>
<span *ngIf="metrics">
<b>Metrics:</b> {{metrics.endTime | date: 'yyyy-MM-dd HH:mm aaaaa\'m\''}} | {{metrics.executionTime}}ms
<b>Metrics:</b> {{metrics.endTime | date: 'yyyy-MM-dd hh:mm aaaaa\'m\''}} | {{metrics.executionTime}}ms
| {{metrics.totalItemCount}} items
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/examples/grid-range.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ <h2>{{title}}</h2>

<br />
<span *ngIf="metrics" style="margin-right: 10px">
<b>Metrics:</b> {{metrics.startTime | date: 'yyyy-MM-dd HH:mm aaaaa\'m\''}} | {{metrics.itemCount}} of
<b>Metrics:</b> {{metrics.startTime | date: 'yyyy-MM-dd hh:mm aaaaa\'m\''}} | {{metrics.itemCount}} of
{{metrics.totalItemCount}} items
</span>

Expand Down
2 changes: 1 addition & 1 deletion src/app/modules/angular-slickgrid/global-grid-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const GlobalGridOptions: GridOption = {
width: 200,
},
customFooterOptions: {
dateFormat: 'yyyy-MM-dd HH:mm aaaaa\'m\'',
dateFormat: 'yyyy-MM-dd hh:mm aaaaa\'m\'',
hideTotalItemCount: false,
hideLastUpdateTimestamp: true,
footerHeight: 20,
Expand Down

0 comments on commit f66703a

Please sign in to comment.