[Tickets #13622] Re: daylight saving time error
noreply at bugs.horde.org
noreply at bugs.horde.org
Fri Oct 9 11:40:13 UTC 2015
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/13622
------------------------------------------------------------------------------
Ticket | 13622
Updated By | chico at uspedra.com.br
Summary | daylight saving time error
Queue | Kronolith
Version | 4.2.2
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
+New Attachment | kronolith.js
------------------------------------------------------------------------------
chico at uspedra.com.br (2015-10-09 11:40) wrote:
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.
> 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)
>
>
chico at uspedra.com.br (2015-10-09 11:40) uploaded: kronolith.js
https://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=kronolith.js&ticket=13622&fn=%2Fkronolith.js
More information about the bugs
mailing list