Skip to content

Commit

Permalink
Step 4.15: Add date format filter to chat view
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 22, 2016
1 parent 3aae503 commit a6f5d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/templates/chat.html
Expand Up @@ -8,7 +8,7 @@
<div ng-repeat="message in chat.messages" class="message-wrapper">
<div class="message" ng-class-even="'message-mine'" ng-class-odd="'message-other'">
<div class="message-text">{{ message.text }}</div>
<span class="message-timestamp">{{ message.timestamp }}</span>
<span class="message-timestamp">{{ message.timestamp | amDateFormat: 'HH:MM' }}</span>
</div>
</div>
</div>
Expand Down

0 comments on commit a6f5d7f

Please sign in to comment.