diff --git a/composables/i18n.ts b/composables/i18n.ts index 5930c0dd..36470587 100644 --- a/composables/i18n.ts +++ b/composables/i18n.ts @@ -79,6 +79,7 @@ export const useTimeAgoOptions = (short = false): UseTimeAgoOptions => { week: (n, p) => t(`time_ago_options.${prefix}week_${p ? 'past' : 'future'}`, n), month: (n, p) => t(`time_ago_options.${prefix}month_${p ? 'past' : 'future'}`, n), year: (n, p) => t(`time_ago_options.${prefix}year_${p ? 'past' : 'future'}`, n), + invalid: '', }, fullDateFormatter(date) { return d(date, short ? 'short' : 'long')