Simple-Calendar icon indicating copy to clipboard operation
Simple-Calendar copied to clipboard

Multi-day all-day events show duplicate when spanning/starting on a daylight savings day.

Open pderksen opened this issue 9 years ago • 4 comments

This particular event is Oct 29-Nov 1 and set to Brussels time zone.

Possibly due to spanning multiple months?

Or another event occurring in the middle?

image

pderksen avatar Oct 06 '16 16:10 pderksen

  • Seems to be when it spans months it messes up on the 2nd to last day of the month.
  • But doesn't happen in default time zone.

pderksen avatar Oct 06 '16 22:10 pderksen

  • Only days after the first day are off.
  • Only affects timezones UTC-1, UTC+1 and UTC+2 it seems. Europe\Brussels & Europe\Paris are UTC+1 at the moment.
  • ->offset is inconsistent on above timezones only. When between 0 and +/- 10800 (3 hours)?
  • Tried pulling master branch of https://github.com/briannesbitt/Carbon (more current than latest release, but still not updated since July).
  • Searched issues & PRs at https://github.com/briannesbitt/Carbon but nothing yet.
  • Will probably need to adjust month headings after all this is worked out.

pderksen avatar Oct 11 '16 20:10 pderksen

It's the daylight savings on Oct 30 (last Sunday in London or Brussels) in those timezones screwing up a lot of this. Ugh!

Offsets change when hitting the DST day.

pderksen avatar Oct 13 '16 21:10 pderksen

Ok changed the title appropriately. Wow this was a tough one to nail down.

I think other timezone issues were fixed during this process, but this one still remains.

Workaround: ​Create multiple single day all day events for that particular event.

Screenshots for a test in London timezone where DST is Oct 30, 2016.

image

image

image

pderksen avatar Oct 20 '16 23:10 pderksen