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

Comments

@jonathanborges
Copy link

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

This comment has been minimized.

Copy link
Member

commented Nov 14, 2018

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

@jonathanborges

This comment has been minimized.

Copy link
Author

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.

kossnocorp added a commit that referenced this issue Dec 7, 2018
Attempt to fix #972
Remove code that causes #972. Most likely it will break something else,
but this is yet to figure.
@kossnocorp kossnocorp referenced this issue Dec 7, 2018
2 of 2 tasks complete
kossnocorp added a commit that referenced this issue Dec 7, 2018
Attempt to fix #972
Remove code that causes #972. Most likely it will break something else,
but this is yet to figure.
@kossnocorp

This comment has been minimized.

Copy link
Member

commented Dec 11, 2018

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

See:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.