Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Step 2.19: Apply calendar pipe to chats view template
  • Loading branch information
dotansimha committed Nov 27, 2016
1 parent 7b2c5d4 commit 569ce9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/chats/chats.html
Expand Up @@ -24,7 +24,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 569ce9a

Please sign in to comment.