Use local-datetime components

This commit is contained in:
richard-dds 2018-10-30 14:57:57 -04:00
parent c5800a8c98
commit 588584ccee
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
import Modal from '../../mixins/modal'
import LocalDatetime from '../../components/local_datetime'
export default {
name: 'requests-list',
@ -7,6 +8,7 @@ export default {
components: {
Modal,
LocalDatetime
},
props: {

View File

@ -121,9 +121,9 @@
<a class='icon-link icon-link--large' :href="r.edit_link">!{ r.name }</a>
<span v-if="r.action_required" class="label label--info">Action Required</span>
</th>
<td>!{ r.last_submission_timestamp}</td>
<td><local-datetime :timestamp="r.last_submission_timestamp" format="M/D/YYYY"></td>
{% if extended_view %}
<td>!{ r.last_edited_timestamp }</td>
<td><local-datetime :timestamp="r.last_edited_timestamp" format="M/D/YYYY"></td>
<td>!{ r.full_name }</td>
{% endif %}
<td>!{ r.annual_usage }</td>