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

Brazil Locale DST Error #5281

Closed
luansevla opened this issue Nov 4, 2019 · 9 comments
Closed

Brazil Locale DST Error #5281

luansevla opened this issue Nov 4, 2019 · 9 comments

Comments

@luansevla
Copy link

Describe the bug

In Brazil location we have error of an hour early, because of the daylight saving time pointed by monet.js. We are not using 'daylight saving time' (+1 hour) this year.

@librity
Copy link

librity commented Nov 4, 2019

It's happening on some windows machines: when we call new Date() it returns the time an hour ahead despite our systemtime Get-Date;

@safeerjavidh-zarget
Copy link

Its down to brazil decided not to follow daylight saving time from this year onwards.

So for all conversions with brazil time zone given in the time string, the result comes with +1 hour of actual time.

@hugoeustaquio
Copy link

You need to update moment-timestamp, the brazilian daylight savetime is updated there.

@safeerjavidh-zarget
Copy link

@hugoeustaquio how can i do it ? where should i do the update ?

@marcusvpereira
Copy link

Hello Guys! I'm having same problem that @luan1992 and @safeerjavidh-zarget. It's not only on Windows machines. Same problem on mac. Any idea?

@luansevla
Copy link
Author

Solved! Moment Team fix It!

@luansevla
Copy link
Author

Nice work, Moment Team!

@safeerjavidh-zarget
Copy link

@luan1992 did they release any patch or something ? how do i get the latest fix from moment team ?

@luansevla
Copy link
Author

@safeerjavidh-zarget I do not know, just happen happened.
moment

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

5 participants