- 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...