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

Support "2-digit" month format #128

Closed
r1b opened this issue Jul 24, 2015 · 1 comment
Closed

Support "2-digit" month format #128

r1b opened this issue Jul 24, 2015 · 1 comment
Assignees
Labels

Comments

@r1b
Copy link

r1b commented Jul 24, 2015

In Chrome 43.0.2357.132 I see:

new Intl.DateTimeFormat('en', {
     month: '2-digit'
}).format(Date.now());
"07"

In node v0.10.38 with latest Intl in npm I see:

new Intl.DateTimeFormat('en', {
     month: '2-digit'
}).format(Date.now());
"7"
@caridy caridy added the bug label Jul 24, 2015
@caridy caridy self-assigned this Jul 24, 2015
@caridy
Copy link
Collaborator

caridy commented Feb 11, 2016

Fixed by PR #146, shipped in intl@1.1.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants