Relax parsing for date values
Brought to you by:
fortuna
It seems to be a common error in many .ical files that date properties that are specified as DATEs only omit to specify the required VALUE parameter. You even find this mistake in the RFC itself (though the DTSTAMP is even worse in that example):
BEGIN:VEVENT
UID:19970901T130000Z-123403@host.com
DTSTAMP:19970901T1300Z
DTSTART:19971102
SUMMARY:Our Blissful Anniversary
CLASS:CONFIDENTIAL
CATEGORIES:ANNIVERSARY,PERSONAL,SPECIAL OCCASION
RRULE:FREQ=YEARLY
END:VEVENT
I propose this patch to try to recover for these errors. This would also move google_aus_holdidays.ics and zidestoreical4jbomb.ics from invalid to valid. Locally I also added the above VEVENT with a corrected DTSTAMP for testing this behaviour.
.
Logged In: YES
user_id=14058
Originator: NO
Hi Francisco,
Have you tried enabling the RELAXED_PARSING compatibility flag? I believe this will achieve the same result as this patch.
regards,
ben
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).