Thank you for your very hard work on this project. I've used it for years and have noticed an issue that has been occurring for a long time.
Syncing via DAVx5 to Nextcloud.
Create an event on this app, set for all day... for instance on 12/7. When exported, you see it looks correct:
BEGIN:VCALENDAR
PRODID:-//Simple Mobile Tools//NONSGML Event Calendar//EN
VERSION:2.0
BEGIN:VEVENT
SUMMARY:Tues 7 test
UID:Caldav-3-2603
X-SMT-CATEGORY-COLOR:-13534004
CATEGORIES:Personal
LAST-MODIFIED:20211111T234155Z
LOCATION:
TRANSP:OPAQUE
DTSTART;VALUE=DATE:20211207
DTEND;VALUE=DATE:20211208
X-SMT-MISSING-YEAR:0
DTSTAMP:20211111T234158Z
STATUS:CONFIRMED
DESCRIPTION:
END:VEVENT
END:VCALENDAR
The event is displayed (normally) on the day it was created until DAVx5 performs a sync operation. At this point, in all clients the event is moved to the day after its originally scheduled date (moved from tues to wed in this case). Export shows that DTSTART and DTEND are now one day later each:
BEGIN:VCALENDAR
PRODID:-//Simple Mobile Tools//NONSGML Event Calendar//EN
VERSION:2.0
BEGIN:VEVENT
SUMMARY:Tues 7 test
UID:Caldav-3-2603
X-SMT-CATEGORY-COLOR:-13534004
CATEGORIES:Personal
LAST-MODIFIED:19700101T000000Z
LOCATION:
TRANSP:OPAQUE
DTSTART;VALUE=DATE:20211208
DTEND;VALUE=DATE:20211209
X-SMT-MISSING-YEAR:0
DTSTAMP:20211111T234338Z
STATUS:CONFIRMED
DESCRIPTION:
END:VEVENT
END:VCALENDAR
As an example, I downloaded Etar, which handles all day events differently. The way Etar handles it works great in all clients before and after sync. Exports from the Etar app of events created in Etar are shown below.
Before sync:
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
PRODID:-//Etar//ws.xsoh.etar
BEGIN:VEVENT
UID:[email protected]
DTSTAMP:20211111T235035Z
SUMMARY:Sun 14 test
DTSTART:20211114T050000Z
DTEND:20211115T050000Z
ORGANIZER;CN=me:mailto:me
END:VEVENT
END:VCALENDAR
After sync:
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
PRODID:-//Etar//ws.xsoh.etar
BEGIN:VEVENT
UID:[email protected]
DTSTAMP:20211111T235140Z
SUMMARY:Sun 14 test
DTSTART:20211114T050000Z
DTEND:20211115T050000Z
ORGANIZER;CN=me:mailto:me
END:VEVENT
END:VCALENDAR
And a similar event created in Etar, synced, then exported from Simple-Calendar:
BEGIN:VCALENDAR
PRODID:-//Simple Mobile Tools//NONSGML Event Calendar//EN
VERSION:2.0
BEGIN:VEVENT
SUMMARY:Tues 16 test
UID:Caldav-3-2602
X-SMT-CATEGORY-COLOR:-13534004
CATEGORIES:Personal
LAST-MODIFIED:19700101T000000Z
LOCATION:
TRANSP:OPAQUE
DTSTART;VALUE=DATE:20211116
DTEND;VALUE=DATE:20211117
X-SMT-MISSING-YEAR:0
DTSTAMP:20211111T234742Z
STATUS:CONFIRMED
DESCRIPTION:
BEGIN:VALARM
DESCRIPTION:Reminder
ACTION:DISPLAY
TRIGGER:-P0DT0H10M0S
END:VALARM
END:VEVENT
END:VCALENDAR
NOTE: The LAST-MODIFIED dates in each of the post-sync Simple-Calendar exports are epoch time. This is kind of weird.
The reason I am creating this issue here is that other clients (Etar) don't seem to have this problem.
Thanks again, I love the Simple Mobile Tools suite!
bug