twitter / twitter-cldr-rb

Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.
Apache License 2.0
673 stars 93 forks source link

Ja localize to short on 4-digit-number return wrong result #275

Open zszwrsjf opened 3 months ago

zszwrsjf commented 3 months ago

Describe the bug 1111.localize(:ja, format: :short).to_s Return 1, but not 1Kor 1千

To Reproduce Do 1111.localize(:ja, format: :short).to_s in version 6.12.1

Expected 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.