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

format bug -03 to -02 #972

Closed
jonathanborges opened this issue Nov 5, 2018 · 3 comments
Closed

format bug -03 to -02 #972

jonathanborges opened this issue Nov 5, 2018 · 3 comments
Labels

Comments

@jonathanborges
Copy link

@jonathanborges jonathanborges commented Nov 5, 2018

format('2018-11-04', 'YYYY-MM-DD HH:mm')

Returning "2018-11-03 23:00" what? O.o
Another days returning normally.
I think it's because daylight saving time changed. Can u check please?

$ timedatectl
Local time: seg 2018-11-05 15:07:53 -02
Universal time: seg 2018-11-05 17:07:53 UTC
RTC time: seg 2018-11-05 17:07:53
Time zone: America/Sao_Paulo (-02, -0200)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no

@kossnocorp
Copy link
Member

@kossnocorp kossnocorp commented Nov 14, 2018

Thank you for reporting that! This is definitely a bug.

Loading

@jonathanborges
Copy link
Author

@jonathanborges jonathanborges commented Nov 14, 2018

No problem. Another methods like eachDay or something that use parse have the same behavior. I think u already know that.

Loading

kossnocorp added a commit that referenced this issue Dec 7, 2018
Remove code that causes #972. Most likely it will break something else,
but this is yet to figure.
kossnocorp added a commit that referenced this issue Dec 7, 2018
Remove code that causes #972. Most likely it will break something else,
but this is yet to figure.
@kossnocorp
Copy link
Member

@kossnocorp kossnocorp commented Dec 11, 2018

This fix for this problem was released with v2.0.0-alpha.26 and v1.30.1.

See:

Loading

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

Successfully merging a pull request may close this issue.

None yet
2 participants