Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
673
stars
93
forks
source link
Ja localize to short on 4-digit-number return wrong result #275
Open
zszwrsjf opened 3 months ago
Describe the bug
1111.localize(:ja, format: :short).to_s
Return1
, but not1K
or1千
To Reproduce Do
1111.localize(:ja, format: :short).to_s
in version 6.12.1Expected behavior A clear and concise description of what you expected to happen. It can return 1000, https://github.com/twitter/twitter-cldr-npm/blob/master/full/ja.js#L4326 Or 1千 to get more shorter.
I think 1千 is better.