mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
chore: fix types
This commit is contained in:
parent
0a5edda4cd
commit
bcba3ca970
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ export const useTimeAgoOptions = (short = false): UseTimeAgoOptions<false> => {
|
||||||
week: (n, p) => t(`time_ago_options.${prefix}week_${p ? 'past' : 'future'}`, n),
|
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),
|
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),
|
year: (n, p) => t(`time_ago_options.${prefix}year_${p ? 'past' : 'future'}`, n),
|
||||||
|
invalid: '',
|
||||||
},
|
},
|
||||||
fullDateFormatter(date) {
|
fullDateFormatter(date) {
|
||||||
return d(date, short ? 'short' : 'long')
|
return d(date, short ? 'short' : 'long')
|
||||||
|
|
Loading…
Reference in a new issue