Permalink
Browse files

Step 6.11: Use amDateFormat

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 9b81013 commit 31d3fcadc96e113b9b469edb6d7861f0720a4b7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pages/messages/messages.html
@@ -18,7 +18,7 @@
<div *ngFor="let message of messages | async" class="message-wrapper">
<div [class]="'message message-' + message.ownership">
<div *ngIf="message.type == 'text'" class="message-content message-content-text">{{message.content}}</div>
<span class="message-timestamp">{{ message.createdAt }}</span>
<span class="message-timestamp">{{ message.createdAt | amDateFormat: 'HH:mm' }}</span>
</div>
</div>
</ion-scroll>

0 comments on commit 31d3fca

Please sign in to comment.