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 Dec 16, 2016
1 parent 29b909b commit fe18871
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 fe18871

Please sign in to comment.