dust-intl icon indicating copy to clipboard operation
dust-intl copied to clipboard

Timezone mismatch on the other side of the prime meridian

Open aks- opened this issue 9 years ago • 1 comments

Error: expected 'oranges cost $40,000.00 (or €40,000.00) if ordered by January 24, 2014' to equal 'oranges cost $40,000.00 (or €40,000.00) if ordered by January 23, 2014'

This test failed with other few tests related to formatDate when I ran npm test on my side. I fixed the timezone to UTC to work it, the changes made by me made pass other tests on both the side of meridian but this

aks- avatar Jul 06 '15 18:07 aks-

this is probably related to the Intl polyfill, which does not support TZ at the moment. More details here: https://github.com/andyearnshaw/Intl.js/issues/19

caridy avatar Jul 07 '15 00:07 caridy