Serhioromano / bootstrap-calendar

Full view calendar with year, month, week and day views based on templates with Twitter Bootstrap.
http://bootstrap-calendar.eivissapp.com/
MIT License
3.02k stars 1.29k forks source link

Fix event selection for daylight saving changes #782

Closed lucc closed 2 years ago

lucc commented 2 years ago

On days where daylight saving is toggled the day does not last exactly 86400000 ms. In the timezone Europe/Berlin for example daylight saving time was toggled on 2022-03-27 at 02:00 hours. This results in 2022-03-27T00:00:00 + 86400000 ms = 2022-03-28T01:00:00. Therefore events where displayed on the wrong day.

lucc commented 2 years ago

@Serhioromano thank you for merging. Do you mind tagging a release? The last one is quite old and having a recent release could help new people coming to the repository to not ask #778 again.

Also it would help me to bundle the new version.