[Tickets #13947] Calendar breaks on DST start date
noreply at bugs.horde.org
noreply at bugs.horde.org
Fri Apr 10 19:40:41 UTC 2015
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/13947
------------------------------------------------------------------------------
Ticket | 13947
Created By | jsveiga at it.eng.br
Summary | Calendar breaks on DST start date
Queue | Kronolith
Version | 4.2.2
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
jsveiga at it.eng.br (2015-04-10 19:40) wrote:
Calendar views broken on DST start date (see attached).
To reproduce:
1 - set the timezone (php.ini) to one that has DST starting at 00:00
of a known date. For example, date.timezone = "America/Sao_Paulo".
2 - access the year or month view of the calendar on the month that
DTS starts (in this case, October) and look at the DST start date
Interestingly, Android is plagued by almost the exact same bug:
https://code.google.com/p/android/issues/detail?id=74754
This is caused by using datetime variables with the time unset (thus
00:00). There is no 00:00 on the DST start date (the clock "jumps"
from 23:59 to 01:00), so functions using that date return bad results
which are not handled properly.
jsveiga at it.eng.br (2015-04-10 19:40) uploaded: Desktop.zip
https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=Desktop.zip&ticket=13947&fn=%2FDesktop.zip
More information about the bugs
mailing list