Permalink
Browse files

Step 2.16: Use amCalendar pipe

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 3352310 commit 5b925fc20a6c7fe299c6f6d562181ee2f17eefa3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pages/chats/chats.html
@@ -24,7 +24,7 @@ <h2 class="chat-title">{{chat.title}}</h2>
<span *ngIf="chat.lastMessage" class="last-message">
<p *ngIf="chat.lastMessage.type == 'text'" class="last-message-content last-message-content-text">{{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>

0 comments on commit 5b925fc

Please sign in to comment.