iCal generates duration strings that don't conform exactly to the RFC. The RFC specifies that only days may be combined with times in a duration string, such as P10DT16H. iCal generates duration strings using weeks, so the equivalent duration would be P1W3DT16H (1 week and 3 days = 10 days).
This patch removes the error checking so that these non-conforming durations are parsed without error.
Log in to post a comment.