Skip to content

Commit

Permalink
Step 4.11: 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 28, 2016
1 parent 1122dda commit ca1705d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/messages/messages.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 ca1705d

Please sign in to comment.