-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix all day events bleeding over to following day: #407
Conversation
* Google defines all day as "Midnight" to "Midnight + 1 day" * Subtract 1 minute from the end time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a sample dump of what that calendar event looks like in ical? Fastmail seems to use Duration instead of setting an end time (which we don't actually handle, so that fix is coming up!) which functionally works like Google. |
This is the dump: BEGIN:VEVENT
CREATED:20240513T080055Z
LAST-MODIFIED:20240513T080115Z
DTSTAMP:20240513T080115Z
UID:cg9ce9g7-arhe-o5li-47jh-2rqa03fyca1j
SUMMARY:AllDayTest
DTSTART;VALUE=DATE:20240514
DTEND;VALUE=DATE:20240515
TRANSP:OPAQUE
CLASS:PUBLIC
END:VEVENT I used some random public test caldav server, so this might just be a weird implementation on server side. They obviously use all day events with excluded I will do some more testing on this. |
I was able to reproduce this bug with a NextCloud CalDAV calendar. Here is the dump from the NExtCloud CalDAV event:
Working on a fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I don't know what I did wrong, but it suddenly works for all my CalDAV calendars 🙈 I guess my frontend container was in a weird state. When checking out that branch again and restarting the containers, it works now 😇
So your fix totally works for CalDAV too, sorry for this! At least we know now that Appointment supports Nextcloud calendars too 😅
Fixed:
Sample all day event: