Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

107
Views
Wrong timezone on specifc years/months

Why javascript is giving me different timezones in different dates?

specific date

const a = new Date()
console.log(a)
// Thu Nov 18 2021 10:14:12 GMT-0300 (Horário Padrão de Brasília)
const b = new Date(1991, 1, 15)
console.log(b)
// Fri Feb 15 1991 00:00:00 GMT-0200 (Horário de Verão de Brasília)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It is because Daylight saving time is cancelled in 2019 for Brasil so now Brasil is GMT+3 and before 2019 it was GMT +2. Moment JS updated its library - https://github.com/moment/moment/issues/5246

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!