Add support for date-only to the time-display component

This commit is contained in:
Joseph Schorr 2017-11-27 13:08:38 +02:00
parent 89d635f6cf
commit b5b4aa154c
3 changed files with 11 additions and 2 deletions

View file

@ -26,7 +26,7 @@
</td>
<td class="history-row" ng-if="entry.date_break" colspan="2">
{{ entry.date | amDateFormat:'dddd, MMMM Do YYYY' }}
<time-display datetime="entry.date" date-only="true"></time-display>
</td>
<td ng-if="!entry.date_break" class="icon-col">