diff --git a/frontend/src/components/prompts/Info.vue b/frontend/src/components/prompts/Info.vue index a474fffe..5312ac76 100644 --- a/frontend/src/components/prompts/Info.vue +++ b/frontend/src/components/prompts/Info.vue @@ -16,7 +16,7 @@ {{ $t("prompts.size") }}: {{ humanSize }}

-

+

{{ $t("prompts.lastModified") }}: {{ humanTime }}

@@ -110,6 +110,9 @@ export default { return moment(this.req.items[this.selected[0]].modified).fromNow(); }, + modTime: function () { + return new Date(Date.parse(this.req.modified)).toLocaleString(); + }, name: function () { return this.selectedCount === 0 ? this.req.name diff --git a/frontend/src/views/Share.vue b/frontend/src/views/Share.vue index e44b2839..56a128b6 100644 --- a/frontend/src/views/Share.vue +++ b/frontend/src/views/Share.vue @@ -78,7 +78,7 @@
{{ $t("prompts.displayName") }} {{ req.name }}
-
+
{{ $t("prompts.lastModified") }}: {{ humanTime }}
@@ -244,6 +244,9 @@ export default { humanTime: function () { return moment(this.req.modified).fromNow(); }, + modTime: function () { + return new Date(Date.parse(this.req.modified)).toLocaleString(); + }, }, methods: { ...mapMutations(["resetSelected", "updateRequest", "setLoading"]),