Unverified Commit 1019ea4b authored by Alireza Heidari's avatar Alireza Heidari
Browse files

Update client/src/co mponents/UtcDate.vue

parent e2bdabf8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ const props = withDefaults(defineProps<UtcDateProps>(), {
const parsedDate = computed(() => parseISO(`${props.date}Z`));
const elapsedTime = computed(() => formatDistanceToNow(parsedDate.value, { addSuffix: true }));
const fullISO = computed(() => parsedDate.value.toISOString());
const pretty = computed(() => `${format(parsedDate.value, "eeee MMM do H:mm:ss yyyy zz")}`);
const pretty = computed(() => format(parsedDate.value, "eeee MMM do H:mm:ss yyyy zz"));
</script>

<template>