Skip to content

Commit ae16c73

Browse files
GorlesunilkumarAndyScherzinger
authored andcommitted
fix(calendar): correct ICS event formatting and time zone usage
The ICS event file has been updated to follow proper RFC 5545 formatting. Changes: - Added a valid DESCRIPTION field instead of an empty one - Unified DTSTART and DTEND to use the same TZID (Europe/Berlin) - Ensured the event duration is correct and consistent - Cleaned up extra blank lines to avoid parsing issues - Retained the complete VTIMEZONE block for compatibility with Nextcloud, Google Calendar, and iOS This improves interoperability with calendar clients and prevents parsing errors caused by mixed time formats. Signed-off-by: Gorlesunilkumar <g2005.sunil2005@gmail.com>
1 parent f09e71e commit ae16c73

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/src/androidTest/assets/calendar.ics

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,14 @@ BEGIN:VEVENT
116116
DTSTAMP:20210820T083606Z
117117
UID:16294485666795adb8b4b08e94d3cb4445e1e3ee18fd9@nextcloud.com
118118
SUMMARY:Test event
119-
DESCRIPTION:
119+
DESCRIPTION:Test event
120+
120121
ORGANIZER:mailto:dummy@gmail.com
121122
LOCATION:
122123
STATUS:CONFIRMED
123124
DTSTART;TZID=Europe/Berlin:20210806T090000
124-
DTEND:20210806T080000Z
125+
DTEND;TZID=Europe/Berlin:20210806T100000
126+
125127
BEGIN:VALARM
126128
TRIGGER:-PT30M
127129
ACTION:DISPLAY

0 commit comments

Comments
 (0)