6.0.0-alpha12
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
6/1/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13947] Calendar breaks on DST start date
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ __ .___. . |\ || \/ `[__ |\ | | \||__/\__.[___| \|
Comment
>> The problem is that >> calculations like Date.next().day() don't jump to the next day, but >> add 24 hours. I guess. > > Exactly, and it seems that adding a week adds 7*24h. Then as the DST > switch days do not have 24h, the resulting "day" is not what is > expected (as it happens when building the week rows). This is why > setting the hour for something away from 00:00 solves it as in the > patch I sent: Although it may shift +-1h, it is still within the > expected day. > > It seems that JS date arithmetic for DST is not really consistent > across browsers around 00:00 (I've found this detailing differences > even between IE9 and IE10; maybe related to the same issue: > https://msdn.microsoft.com/en-us/library/ie/jj863688%28v=vs.85%29.aspx). > > So would be interesting to make Kronilith "immune" to that, so the > results are consistent across different browsers/platforms.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers