Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kDAV - all day events are shown one day too early in calendar apps #9

Open
DFS-90 opened this issue Apr 17, 2022 · 1 comment
Open

Comments

@DFS-90
Copy link

DFS-90 commented Apr 17, 2022

Hi,

I am running Kopano server 11.0.2 together with the latest version of Kopano kdav.
My SabreDAV version is 3.2.2.

When I create an all day event, it is shown correctly in Microsoft Outlook as well as in Kopano WebApp.
It is also displayed correctly on my iPhone's calendar app.

But when I use Kopano kDAV, all day events are shown one day too early.
All other events are shown correctly.

I've already checked my Kopano server for timezone issues - Ubuntu, PHP, MySQL and Z-Push are all configured to use "Europe/Berlin".

Does anybody know how to solve this issue?

Thanks in advance,
David

@DFS-90
Copy link
Author

DFS-90 commented Sep 19, 2022

I started a "clean approach" by setting up a new VM with the latest versions of Kopano, MariaDB, kDAV etc.

Everything else works fine:

  • umlauts
  • all day events that last two or more days
  • events that last a certain period of time, e. g. 8 am to 7 pm

As soon as I create an all day event that lasts one day, it is recognized for the day before.

Example:

  • event is created for 2022/09/11, all day
  • my mobile phone recognizes that event for 2022/09/11, all day
  • Kopano WebApp recognizes that event for 2022/09/11, all day
  • HomeAssistant recognizes that event for 2022/09/10, all day

This is an excerpt from the .ics-file:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Kopano//11.0.2//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
TRANSP:TRANSPARENT
X-MICROSOFT-CDO-INTENDEDSTATUS:FREE
CREATED:20220907T230853Z
LAST-MODIFIED:20220907T230901Z
DTSTAMP:20220907T230901Z
DTSTART;VALUE=DATE:20220910
DTEND;VALUE=DATE:20220911
SUMMARY:Test WebApp ganztägig 11.09.
PRIORITY:5
CLASS:PUBLIC
UID:
040000008200E00074C5B7101A82E008000000008064F3D00EC3D801000000000000000001
000000C5EA678954DE4A9D840365DFBE14C377
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20220908T075343Z
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20220908T075343Z
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:-1
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
END:VEVENT

I also did a second test with an empty calendar for 2022-09-12 to be sure:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Kopano//11.0.2//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
TRANSP:TRANSPARENT
X-MICROSOFT-CDO-INTENDEDSTATUS:FREE
CREATED:20220908T213511Z
LAST-MODIFIED:20220908T213511Z
DTSTAMP:20220908T213511Z
DTSTART;VALUE=DATE:20220911
DTEND;VALUE=DATE:20220912
SUMMARY:appointment test 2022-09-12, all day
PRIORITY:5
CLASS:PUBLIC
UID:
040000008200E00074C5B7101A82E00800000000800564E4CAC3D801000000000000000001
00000035A1B8102AFD4AE9AC9D0C575AFC4F57
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20220908T213519Z
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20220908T213519Z
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:-1
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
END:VEVENT
END:VCALENDAR

The issue happened when trying to connect my Kopano calendar to HomeAssistant (please also see HomeAssistant community).

All timezones are set correctly (“Europe/Berlin”).

Does anybody know how to troubleshoot this?

Thanks in advance,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant