Join GitHub today
DTSTAMP compatibility: accept erroneous TZID parameters #303
Many iCalendars out there (especially Webcal feeds generated by PHP scripts etc.) contain
According to the iCalendar RFC, this is invalid and it causes ical4j to fail with:
While this is technically correct, it often causes compability problems.
Would it be possible to accept time values with time zone when
The thing about DTSTAMP is that the RFC specifically states it should be UTC time, presumably because it avoids ambiguity when dealing with historical timezone definitions.
As such ical4j implements as a UTC property that can't have a timezone even in relaxed mode.
What we could explore is transforming the input calendar to convert the timezone-based value to a UTC value when parsing.
I think it might also be helpful for servers which use the
But whatever the reasons behind this are: Although I don't like it, there are many iCalendars out there which contain