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

Commit f8c5616

Browse files
authored
Merge pull request #193 from headcr4sh/provide-unit-test-for-issue192
Provide a working unit test for Issue #192
2 parents d95d690 + b1ac73c commit f8c5616

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/sanity.js

+5
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,8 @@ assert(new IntlPolyfill.DateTimeFormat('en', {
5252
month:'long',
5353
year: 'numeric'
5454
}).format(new Date('2016/01/16')), 'January 2016', 'month should be long');
55+
56+
// Issues #190, #192
57+
assert(new IntlPolyfill.DateTimeFormat('en-us', {
58+
month:'long',
59+
}).format(new Date(2016, 0, 1)), 'January', 'month should be long');

0 commit comments

Comments
 (0)