redbugz/express-intl

Upgrade to Intl 1.x

Closed this issue · 0 comments

I attempted to upgrade to Intl 1.x, but it broke the tests. It appears that it is not quite stable for this use-case yet.

1.1.0 has a bug where it truncates dates like "11:0 PM" instead of "11:00 PM"

1.0.1 breaks the default locale tests in Node 4+ because the default locale is "af-NA" instead of "en-US". Maybe it's a bad idea to have tests based on the default locale, but this was surprising nonetheless. I need to find out if I should not test the default locale, or if I need to wait for this to be fixed

For now we are sticking with 0.1.4 until this issues are understood.