Change all uses of am-time-ago to the <time-ago> component
This commit is contained in:
parent
33af54d355
commit
2ea06d3df8
13 changed files with 15 additions and 20 deletions
|
@ -49,7 +49,7 @@
|
|||
<div class="timing">
|
||||
<i class="fa fa-clock-o"></i>
|
||||
Build started
|
||||
<span am-time-ago="build.started || 0"></span>
|
||||
<time-ago datetime="build.started"></time-ago>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
first-line-only="true"></markdown-view>
|
||||
</p>
|
||||
<p class="result-info-bar">
|
||||
<span class="info-span">Last Modified: <span am-time-ago="result.last_modified * 1000"></span></span>
|
||||
<span class="info-span">Last Modified: <time-ago datetime="result.last_modified * 1000"></time-ago></span>
|
||||
<span class="info-span activity">
|
||||
activity
|
||||
<span class="strength-indicator" value="::result.popularity"
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>Last Updated:</td>
|
||||
<td ng-if="syncInfo.last_updated"><span am-time-ago="syncInfo.last_updated"></span> at {{ syncInfo.last_updated | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}</td>
|
||||
<td ng-if="syncInfo.last_updated"><time-ago datetime="syncInfo.last_updated"></time-ago></td>
|
||||
<td ng-if="!syncInfo.last_updated" style="color: #aaa;">Never</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Reference in a new issue