dust-intl
dust-intl copied to clipboard
Timezone mismatch on the other side of the prime meridian
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
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