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

The date offset in Brazil (America/Sao_Paulo) is incorrect #2269

Closed
hiagodotme opened this issue Nov 3, 2019 · 3 comments
Closed

The date offset in Brazil (America/Sao_Paulo) is incorrect #2269

hiagodotme opened this issue Nov 3, 2019 · 3 comments

Comments

@hiagodotme
Copy link

  • Node.js Version: v10.16.0
  • OS: Ubuntu 18.04 LTS
  • Scope (install, code, runtime, meta, other?): runtime

The date offset in Brazil is incorrect. The javascript offset returns 120 (GMT-0200), the government canceled our daylight saving time. Our time zone still requires offset 180 (GMT-0300) I can't find anything about that. How do I update the time tables?

process.env.TZ = 'America/Sao_Paulo';
console.log(new Date().getTimezoneOffset()); // returning 120 not 180...
@richardlau
Copy link
Member

See nodejs/node#30211. This requires an update to ICU in Node.js (nodejs/node#29540, nodejs/node#30232).

@PoojaDurgad
Copy link

@hiagodotme - is this still an issue?

@PoojaDurgad
Copy link

inactive. closing!!

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

No branches or pull requests

3 participants