mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
580 stars 86 forks source link

"All day" events start and end at 01:00 instead of 00:00 #351

Open logological opened 6 months ago

logological commented 6 months ago

I'm using DavMail 6.2.2 with Thunderbird 115 on openSUSE Tumbleweed. My system's timezone is set to America/Winnipeg (which is Central Time), and Thunderbird is configured to use this system timezone.

If I create a new event in Thunderbird and check the "All day Event" box, then I expect it to begin at 00:00 on the start date and to end at 24:00 on the end date. However, for DavMail calendars only, Thunderbird shows these events as beginning at 01:00 on the start date and ending at 01:00 on the day following the end date.

Perhaps this problem is related to Issue 342.

logological commented 6 months ago

Interestingly, if I edit the all-day event once it's been created, I see that the "All day Event" box is unchecked, and that start and end times of 01:00 are explicitly given in the start and end date fields. If I re-check the "All day Event" box, correct the end date, and re-save the event, then this time the event is saved with the correct starting and ending times. So it seems it's only when all-day events are initially created that this problem arises.

mguessan commented 4 months ago

We had issues on allday events a long time ago in WebDav mode, guess it's not the case here, need to investigate further the logs to understand why th allday flag is lost on create