Permalink
Browse files

Step 2.16: Use amCalendar pipe

  • Loading branch information...
dotansimha authored and darkbasic committed Jan 24, 2017
1 parent 7b1fa71 commit 20185957cbe483094278a46e51cf139b267f0e62
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 2018595

Please sign in to comment.