Skip to content

Commit

Permalink
Step 4.12: Apply date format pipe to messages view template
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 27, 2016
1 parent ccf62df commit 3ddfded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/imports/pages/chat/messages-page.component.html
Expand Up @@ -18,7 +18,7 @@
<div *ngFor="let message of messages | async" class="message-wrapper">
<div [class]="'message message-' + message.ownership">
<div class="message-content">{{message.content}}</div>
<span class="message-timestamp">{{message.createdAt}}</span>
<span class="message-timestamp">{{message.createdAt | amDateFormat: 'HH:MM'}}</span>
</div>
</div>
</ion-scroll>
Expand Down

0 comments on commit 3ddfded

Please sign in to comment.