fix(i18n): use floor rounding on use time ago (#444)
This commit is contained in:
parent
aa9b5d2cb1
commit
4d88ee312e
3 changed files with 24 additions and 23 deletions
|
@ -63,6 +63,7 @@ export const useTimeAgoOptions = (short = false): UseTimeAgoOptions<false> => {
|
|||
const prefix = short ? 'short_' : ''
|
||||
|
||||
return {
|
||||
rounding: 'floor',
|
||||
showSecond: !short,
|
||||
updateInterval: short ? 60_000 : 1_000,
|
||||
messages: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue