Day Light Saving Issue

Hi,

When I create a full day event issue in the current month or next month and is working fine. But When I add full day event in month of November then the application is adding extra 1 hour. Because of this, the event is spanning for two days. On further analysis, I assume that this might be because of day light savings. Could you please let me know your thoughts on this.

Regards,
Kamal

Hi,

Kindly let me know your thoughts to solve this issue.

Regards,
Kamal

For better understanding of this issue, I am attaching few snapshots below. Also, I am using below statement sched.Config.server_utc = true; in my poc to enable utc to local timezone and back while saving the data. I hope the scheduler should handle the day light saving automatically but it is not. I am trying to set the start time and end date based on the date but no luck. Could you please let me know the best way to solve this issue.

Regards,
Kamal





Hi,

I hope that you got chance to simulate the above issue. Appreciate if you share your thoughts/views to solve this issue.

Regards,
Kamal

Hello,
this issue happens because currently Scheduler works only with events which have both date and time information. And if time is missing - it adds it itself (00:00). As a result of this “Full day” checkbox is merely a helper to set start date to 00:00 and then 1 day to it. And it makes sure that it adds 1 day, daylight saving zones can create two cases:

  1. We try to set to 00:00 but because of daylight saving zones it’s actually 23:00 of the previous day. In this case Scheduler would add another day to make sure that we’ve added 1 day.
  2. We try to set 00:00 but in this case it’s not 23:00 but 01:00 of that next day. In this case scheduler does nothing as day was added correctly. But as a result event information is
    start_date = 2012.10.05 00:00
    end_date = 2012.10.06 01:00 (example)
    And it is displayed as multiday event.

Unfortunately for now Scheduler can’t work with only dates and we can’t provide hotfix for this.

Hello,

I am having an issue that may be related.

It appears to be running into the day light savings processing.

I have an event that is replicated over many months, similar to this…
ID text start_date end_date
18 TEST STUDY 2012-05-15 08:30:00.000 2012-05-15 12:30:00.000

All of events display as expected until November. I am sending in the same time but the calendar presents the time as 9:30 and 12:30 respectively. The times are correct again in March, after day light savings is over.

Is there a configuration setting to turn off day light savings functionality?

See the attached snippet of the calendar as it switches back in March.

Thanks


Hi Team,

I am facing the same problem.I defined a shift on March 9th 2014 with time 8am - 4 pm and in dhtmlx calendar it is showing up as 9am - 5 pm .Please provide me some solution to fix this issue,its urgent.I have attached the screenshot showing this issue

Hello,
It sounds like you have a situation similar to the one that we encountered.

Our issue was resolved by updating to the latest version of the dhtmlxScheduler component.

Hope this helps.

HI,
Currently my application is runs with Dhtmlx 3.5 version .If i download dhtmlxScheduler new version ,is it compactible with my old 3.5 Suite or do in need to replace all the components

Yes, you can use latest dhtmlxscheduler with older version of other dhtmlx components

Be sure to include dhtmlxscheduler.js before other js files, and do not include dhtmlxcommon.js, dhtmlxdataprocessor.js and connector.js - all of them are included in to the dhtmlxscheduler.js

Hi,

 I updated the new Scheduler that you provided,but my issue still exist.My timezone is (UTC-06:00) Central Time (US & Canada)

Hi ,
I updated latest version 4.0,but it didn’t fix my issue.My timezone is (UTC-06:00) Central Time (US & Canada). :unamused: