Mostly cosmetic changes to date tooltip display.
This commit is contained in:
@@ -84,8 +84,9 @@
|
||||
<div class="column is-4-tablet is-6-mobile has-text-left-mobile">
|
||||
<span class="icon-text">
|
||||
<span class="icon"><i class="fas fa-calendar"></i> </span>
|
||||
<span class="has-tooltip" v-tooltip="moment.unix(history.updated).format('YYYY-MM-DD h:mm:ss A')">
|
||||
{{ moment.unix(history.updated).fromNow() }}
|
||||
<span class="has-tooltip"
|
||||
v-tooltip="`Updated at: ${moment.unix(history.updated_at ?? history.updated).format(TOOLTIP_DATE_FORMAT)}`">
|
||||
{{ moment.unix(history.updated_at ?? history.updated).fromNow() }}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
@@ -139,7 +140,7 @@
|
||||
<script setup>
|
||||
import moment from 'moment'
|
||||
import Message from '~/components/Message.vue'
|
||||
import {formatDuration, makeName, notification} from "~/utils/index.js";
|
||||
import {formatDuration, makeName, notification, TOOLTIP_DATE_FORMAT} from "~/utils/index.js";
|
||||
|
||||
const backend = useRoute().params.backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user