You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is highly inconsistent with the examples that are given on any other language ( https://day.js.org/docs/en/display/from-now ), and does not seem to be a specific instrument or requirement of the language, but a stylistic choice (ie, 1 vuoden päästä is understood as yhden and not yksi, given the context.)
The main drawback of the previous approach is that it takes a lot of space with numbers like 8 and 9 (kahdeksan and yhdeksän). Especially when coupled with kuukautta sitten it starts to limit the usability in certain UI elements given the space it needs (eg. mobile interfaces)
Expected behavior
The FI locale should output roughly the same format as mentioned in the documentation - https://day.js.org/docs/en/display/from-now - using numerals rather than spelling out the number.
The text was updated successfully, but these errors were encountered:
Describe the bug
In FI locale, the relative format replaces the numeral with a word, when the number is less than 10
Like:
kahdeksan kuukautta sitten
https://github.com/iamkun/dayjs/blame/2076da970047c6e0a22c8d4243a42d52833a5df2/src/locale/fi.js#L35
This is highly inconsistent with the examples that are given on any other language ( https://day.js.org/docs/en/display/from-now ), and does not seem to be a specific instrument or requirement of the language, but a stylistic choice (ie,
1 vuoden päästä
is understood asyhden
and notyksi
, given the context.)The main drawback of the previous approach is that it takes a lot of space with numbers like 8 and 9 (
kahdeksan
andyhdeksän
). Especially when coupled withkuukautta sitten
it starts to limit the usability in certain UI elements given the space it needs (eg. mobile interfaces)Expected behavior
The FI locale should output roughly the same format as mentioned in the documentation - https://day.js.org/docs/en/display/from-now - using numerals rather than spelling out the number.
The text was updated successfully, but these errors were encountered: