Skip to content

Commit

Permalink
Step 2.20: Use angular2-moment pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Feb 26, 2017
1 parent 065d207 commit 1fb10d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/imports/pages/chats/chats.component.html
Expand Up @@ -19,7 +19,7 @@ <h2 class="chat-title">{{chat.title}}</h2>

<span *ngIf="chat.lastMessage" class="last-message">
<p class="last-message-content">{{chat.lastMessage.content}}</p>
<span class="last-message-timestamp">{{chat.lastMessage.createdAt}}</span>
<span class="last-message-timestamp">{{chat.lastMessage.createdAt | amCalendar}}</span>
</span>
</div>
</button>
Expand Down

0 comments on commit 1fb10d7

Please sign in to comment.