Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verify: Chilean time zone #2372

Closed
srl295 opened this issue Aug 13, 2015 · 1 comment
Closed

verify: Chilean time zone #2372

srl295 opened this issue Aug 13, 2015 · 1 comment
Assignees
Labels
i18n-api Issues and PRs related to the i18n implementation.

Comments

@srl295
Copy link
Member

srl295 commented Aug 13, 2015

nodejs/node-v0.x-archive#25834 claims Chilean timezone is wrong— may have been fixed by #2292

See also https://github.com/joyent/node/wiki/Intl#updating-timezone-data

@brendanashworth brendanashworth added the i18n-api Issues and PRs related to the i18n implementation. label Aug 14, 2015
@srl295
Copy link
Member Author

srl295 commented Sep 2, 2015

Confirmed correct behavior (wasn't a bug) with update to ICU 55 (#2292)

$ env TZ=America/Santiago node
> process.version
'v3.3.0'
> process.config.variables.icu_ver_major
'55'
> date = new Date('Mon Jun 15 2015 21:43:11 GMT-0300 (CLT)')
Mon Jun 15 2015 21:43:11 GMT-0300 (CLT)
> formatter = Intl.DateTimeFormat('En-us', { hour: 'numeric', hour12: false })
{}
> formatter.format(date)
'21'

@srl295 srl295 closed this as completed Sep 2, 2015
@srl295 srl295 self-assigned this Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-api Issues and PRs related to the i18n implementation.
Projects
None yet
Development

No branches or pull requests

2 participants