Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit ec31f6f

Browse files
committed
sanity was using ambigous date value across timezones
1 parent c956f7a commit ec31f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sanity.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ assert(new IntlPolyfill.DateTimeFormat('en', {
3030
assert(new IntlPolyfill.DateTimeFormat('en-US', {
3131
hour: 'numeric',
3232
minute: 'numeric'
33-
}).format(new Date(1456859319008)), '2:08 PM', 'missing leading 0 on minutes');
33+
}).format(new Date('Tue Mar 01 2016 14:08:39 GMT-0500 (EST)')), '2:08 PM', 'missing leading 0 on minutes');
3434
assert(new IntlPolyfill.DateTimeFormat('en-GB', {
3535
hour: '2-digit',
3636
hour12: false,

0 commit comments

Comments
 (0)