use local-datetime vue component

This commit is contained in:
Andrew Croce 2018-09-13 13:39:46 -04:00 committed by dandds
parent 0cf81f3a5b
commit 6b7e47cb54

View File

@ -190,7 +190,9 @@
</div>
</div>
{% set timestamp=review.status.time_created | formattedDate("%Y-%m-%d %H:%M:%S %Z") %}
<footer class='approval-log__log-item__timestamp'><time datetime='{{ timestamp }}'>{{ timestamp }}</time></footer>
<footer class='approval-log__log-item__timestamp'>
<local-datetime timestamp='{{ timestamp }}'></local-datetime>
</footer>
</article>
</li>
{% endfor %}