Skip to content

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

@hiagodotme

Description

@hiagodotme
  • 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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions