Skip to content

ics export EXDATE invalid date-time #1102

Open

Description

@mujo-hash

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.10.3

Affected Android/Custom ROM version

Android 16 / GrapheneOS 2026030201

Affected device model

Pixel 7

How did you install the app?

F-Droid / IzzyOnDroid

Which calendar service or provider do you use, if any?

No response

Which sync adapter app do you use for calendar synchronization, if any?

No response

Steps to reproduce the bug

  1. Menu > Settings > Export to ics file
  2. included export events, export tasks, export part entries too, selected one calendar
  3. Attempted to import the ics file via radicale's web interface.

Expected behavior

I expected that the fossify exported ics file would import successfully in radicale.

Actual behavior

Noted the error on the interface and the logs stating: '20250429' is not a valid DATE-TIME at the line with EXDATE.

I then opened an issue on radicale, assuming it was an issue with their import Kozea/Radicale#2008 but per the reading of the rfc https://icalendar.org/iCalendar-RFC-5545/3-8-5-1-exception-date-times.html it seems that the exported ics file might be invalid.

My novice reading of the rfc is that EXDATE can either be in the form EXDATE;VALUE=DATE:20250429, EXDATE;VALUE=DATE-TIME:19960402T010000Z, or EXDATE:19960402T010000Z but I'm not 100% confident.

After taking the exported ics and removing unrelated events, here is the minimal file:

 BEGIN:VCALENDAR
 PRODID:-//Fossify//NONSGML Event Calendar//EN
 VERSION:2.0
 BEGIN:VEVENT
 SUMMARY:Chess ✨
 UID:540b1f50c0674021ba838e3d602c0fb41742356467766
 X-FOSSIFY-CATEGORY-COLOR:-16434009
 CATEGORIES:Chess wizard
 LAST-MODIFIED:20251205T074226Z
 TRANSP:OPAQUE
 DTSTART:20250401T210000Z
 DTEND:20250401T210000Z
 X-FOSSIFY-MISSING-YEAR:0
 DTSTAMP:20260302T055208Z
 CLASS:PUBLIC
 STATUS:CONFIRMED
 RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=9;BYDAY=TU
 EXDATE:20250429
 END:VEVENT
 END:VCALENDAR

Using the icalendar validator https://icalendar.org/validator.html states that the file is valid so we attempted to submit an issue with their feedback form but it failed.

Screenshots/Screen recordings

No response

Additional information

No response

Activity

  1. added
    bugSomething is not working
    needs triageIssue is not yet ready for PR authors to take up
    on Mar 7, 2026
  2. mujo-hash commented on Mar 12, 2026

    @mujo-hash
    Author

    seems like maybe just fillIgnoredOccurrences in app/src/main/kotlin/org/fossify/calendar/helpers/IcsExporter.kt needs to change?

    Assuming events and tasks both need the EXDATE format to change

  3. Nesaijn commented on May 25, 2026

    @Nesaijn

    I also experience this issue on sync with my nexctloud instance over DAVx5 after I deleted one occurence of a repeating event. This is part of the debug information from DAVx5:

    HTTP REQUEST
    PUT https://cloud.example.de/remote.php/dav/calendars/me/mycal/8cd21c4d-aa9d-4b98-9f40-f2d1ee35a786.ics
    
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:DAVx5/4.5.12-ose ical4j/4.2.5
    BEGIN:VEVENT
    DTSTAMP:20260525T194013Z
    UID:8cd21c4d-aa9d-4b98-9f40-f2d1ee35a786
    SUMMARY:XYZ
    DTSTART;VALUE=DATE:20260330
    DTEND;VALUE=DATE:20260331
    RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO,TU,WE,TH
    STATUS:CONFIRMED
    EXDATE:20260406
    EXDATE:20260421
    EXDATE:20260504
    EXDATE:20260514
    EXDATE:20260525
    END:VEVENT
    END:VCALENDAR
    
    
    HTTP RESPONSE
    <?xml version="1.0" encoding="utf-8"?>
    <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
      <s:exception>Sabre\DAV\Exception\UnsupportedMediaType</s:exception>
      <s:message>Validation error in iCalendar: The supplied value (20260406) is not a correct DATE-TIME</s:message>
    </d:error>
    
  4. SenorFusion commented on May 27, 2026

    @SenorFusion

    I am seeing similar issues trying to export a Fossify local-only calendar and import the ICS into Radicale. Among the errors already listed above, recurring events also break importing:

    [2026-05-27 17:12:01 +0000] [1/Thread-44480 (process_request_thread)] [WARNING] Bad PUT request on '/admin/admin/' (prepare): Multiple main components. Got comp: <VEVENT| [<UID{}0d8f3927e43140cc95353be32ac5e8081757521232075>, <DTSTART{}2025-09-22 17:00:00+00:00>, <DTEND{}2025-09-22 17:00:00+00:00>, <CATEGORIES{}['Regular event']>, <CLASS{}PUBLIC>, <DTSTAMP{}2026-05-27 16:15:31+00:00>, <LAST-MODIFIED{}2025-09-22 12:43:50+00:00>, <STATUS{}CONFIRMED>, <SUMMARY{}Group Call>, <TRANSP{}OPAQUE>, <VALARM| [<ACTION{}DISPLAY>, <DESCRIPTION{}Reminder>, <TRIGGER{}-1 day, 23:00:00>]>, <VALARM| [<ACTION{}DISPLAY>, <DESCRIPTION{}Reminder>, <TRIGGER{}-1 day, 0:00:00>]>, <X-FOSSIFY-CATEGORY-COLOR{}-689152>, <X-FOSSIFY-MISSING-YEAR{}0>]>

  5. phil99 commented on Aug 14, 2026

    @phil99

    I am seeing similar problems trying to import .ics into Google Calendar.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions