Is it possible to disable DST for a timeline. I have tried DateUtil.setAdjustForDST(false) but that didn't do anything.
My timeline has an eventSnapGap of 1 day (1440 minutes) so I am not interested in DST in my case.
The problem is that for event dates after October 24th, 1 hour is subtracted from the dates sent to and from the server which leads to some problems.
I'm saving the dates as DATE in the database so when I send for example 26/10/2015 00:00 it is changed to 25/10/2015 23:00 which is then saved in the database as 25/10/2015, so 1 day earlier than intended.
The Timeline also shows the start and end dates differently after October 24th.
After October 24th the event dates are shown 1 day to the right compared to events before October 24th.
In this picture you can see that the top event ending on the 26th fills the day of the 26th in the timeline, but the other event that ends on the 24th does not fill the day of the 24th.
The timeline works great when there is no DST so if I can just disable DST i think it would solve my problems.
Let me know if you need more info.
My timeline has an eventSnapGap of 1 day (1440 minutes) so I am not interested in DST in my case.
The problem is that for event dates after October 24th, 1 hour is subtracted from the dates sent to and from the server which leads to some problems.
I'm saving the dates as DATE in the database so when I send for example 26/10/2015 00:00 it is changed to 25/10/2015 23:00 which is then saved in the database as 25/10/2015, so 1 day earlier than intended.
The Timeline also shows the start and end dates differently after October 24th.
After October 24th the event dates are shown 1 day to the right compared to events before October 24th.
In this picture you can see that the top event ending on the 26th fills the day of the 26th in the timeline, but the other event that ends on the 24th does not fill the day of the 24th.
The timeline works great when there is no DST so if I can just disable DST i think it would solve my problems.
Let me know if you need more info.
Comment