You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a date is aligned with the beginning/end of a month, the resulting date keeps the initial timezone, not taking daylight savings time (DST) into account.
For example, if align_date_to_month(date, 'Europe/Zurich', 'up') is run against October 1st 2020, the resulting date has a timezone object that thinks it is part of daylight savings time, even though that changed on October 26.
When a date is aligned with the beginning/end of a month, the resulting date keeps the initial timezone, not taking daylight savings time (DST) into account.
For example, if
align_date_to_month(date, 'Europe/Zurich', 'up')
is run against October 1st 2020, the resulting date has a timezone object that thinks it is part of daylight savings time, even though that changed on October 26.To illustrate the issue I wrote a test. See:
master...href:master
The text was updated successfully, but these errors were encountered: