Test and fix last build

This commit is contained in:
2025-03-19 10:20:50 +01:00
parent c0c4ee0227
commit 20fdf7b64e
2 changed files with 7 additions and 7 deletions

View File

@@ -10,9 +10,9 @@ const { t } = useI18n({
useScope: 'local',
})
const time = useTimeAgo(new Date(stats.value!.coding?.data.range.start) ?? new Date()).value.split(' ')[0]
const date = useDateFormat(new Date(stats.value!.coding?.data.range.start ?? new Date()), 'DD MMMM YYYY', { locales: currentLocale.value?.code ?? 'en' })
const hours = usePrecision(stats.value!.coding?.data.grand_total.total_seconds_including_other_language / 3600, 0)
const time = useTimeAgo(new Date(stats.value!.coding.data.range.start) ?? new Date()).value.split(' ')[0]
const date = useDateFormat(new Date(stats.value!.coding.data.range.start ?? new Date()), 'DD MMMM YYYY', { locales: currentLocale.value?.code ?? 'en' })
const hours = usePrecision(stats.value!.coding.data.grand_total.total_seconds_including_other_language / 3600, 0)
</script>
<template>
@@ -23,18 +23,18 @@ const hours = usePrecision(stats.value!.coding?.data.grand_total.total_seconds_i
tag="p"
>
<template #time>
time<!-- {{ time }} -->
{{ time }}
</template>
<template #date>
<HoverText
:hover="t('tooltip.date')"
text="date"
:text="date"
/>
</template>
<template #hours>
<HoverText
:hover="t('tooltip.hours')"
text="hours"
:text="hours"
/>
</template>
<template #editors>

View File

@@ -13,7 +13,7 @@ const { myLocation, locations } = useVisitors()
<template>
<main class="!max-w-none prose dark:prose-invert">
<ContentRenderer v-if="page" :value="page" />
<HomeStats />
<!-- todo: fix <HomeStats /> -->
<HomeActivity />
<HomeQuote />
<HomeCatchPhrase />