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

Commit b1ac73c

Browse files
committed
Provide a working unit test for Issuess #190, #192
1 parent d95d690 commit b1ac73c

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)