diff --git a/packages/client/src/components/global/time.vue b/packages/client/src/components/global/time.vue index 1d1366068..f7254308c 100644 --- a/packages/client/src/components/global/time.vue +++ b/packages/client/src/components/global/time.vue @@ -58,7 +58,7 @@ const relative = $computed(() => { } } - if (ago >= -5) { + if (ago >= -5 * SECOND) { if (props.format === 'date') { // this is also the catch-all for the formats with hour/minute/second precision return i18n.ts.today;