6.0.0-beta1
7/7/25

[#13622] daylight saving time error
Summary daylight saving time error
Queue Kronolith
Queue Version 4.2.2
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester fduarte (at) gmail (dot) com
Created 10/07/2014 (3926 days ago)
Due
Updated 01/22/2016 (3454 days ago)
Assigned
Resolved 01/22/2016 (3454 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/22/2016 10:39:25 AM Jan Schneider Comment #3
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
I remember this being fixed some time in the past, though I cannot 
find the commit. At least I cannot reproduce this anymore with current 
code.
10/09/2015 11:40:13 AM chico (at) uspedra (dot) com (dot) br Comment #2
New Attachment: kronolith.js Download
Reply to this comment
Hi. It's  because the change occurs at zero hour. I ajust this, 
editing the file "kronolith/js/kronolith.js". Where was:

day.next().week();

i put:

var beforeDay = day.getDate();
                 day.next().week();
                 if (day.getDate() - beforeDay == 6) {
                     day.next().day();
                 }
at two pieces: "// Build new calendar view."  and  in "buildMinical: 
function(...". it works for me.

[Show Quoted Text - 15 lines]
10/07/2014 03:46:21 PM fduarte (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
New Attachment: horde-demo.png Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ daylight saving time error
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
We found an unexpected behavior on the dynamic view of Kronolith.

In Brazil we have daylight saving time +1 October, 18th.
The calendar shows two days 18, and when day 19 is clicked,  the 
interface shows events of day 18.
When week 43 is clicked, week 42 is showed. It is impossible to create 
events at October, 19th.

Steps to reproduce error:
- You can use this windows configuration to reproduce the error 
(https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_date_change_time.mspx?mfr=true):  timezone "(UTC-03:00) Brasilia" with "Automatically adjust clock for daylight saving changes" check box 
selected.
- Access http://demo.horde.org/kronolith/#month  (dynamic)


Saved Queries