Skip to content


Step 6.11: Use amDateFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 9b81013 commit 31d3fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/messages/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 31d3fca

Please sign in to comment.