Change to use the <time-display> component

This commit is contained in:
Joseph Schorr 2017-11-27 12:56:26 +02:00
parent 7d55ff9c67
commit 89d635f6cf
2 changed files with 7 additions and 3 deletions

View file

@ -10,7 +10,7 @@
<i class="fa fa-calendar" style="margin-right: 6px;"></i>
<span ng-switch on="scheduled.status" style="vertical-align: middle">
<span ng-switch-when="scheduled">
Scheduled for {{ scheduled.scheduled_for | amDateFormat:'dddd, MMMM Do YYYY, h:mm A' }}:
Scheduled for <time-display datetime="scheduled.scheduled_for"></time-display>:
</span>
<b ng-switch-when="in_progress" style="color: #FDFFB9;">
In progress: