$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
/tmp/B.47ejeh9m/BUILD/libical-4.0.3-build/libical-4.0.3/docs/KnownExceptions.md
1 # Known RFC Exceptions
2 
3 List where libical doesn't fully follow or support all the features described in the RFCs.
4 
5 Contributions to help us fix these limitations are welcome.
6 
7 ## RFC 5545
8 
9 ### Event/To-Do/Journal/Free-Busy Component section 3.6.[1-4]
10 
11 libical does *not* require Event/To-Do/Journal/FreeBusy components to contain exactly one
12 UID and DTSTAMP property - i.e., a missing UID or DTSTAMP property will be ignored and it is
13 the calling application's job to deal with these missing properties as they see fit.
14 
15 ### Recurrence Rule section 3.3.10
16 
17 * FREQ=YEARLY, BYYEARDAY can't be combined with BYWEEKNO, BYMONTH or BYMONTHDAY
18 
19  ref: <https://github.com/libical/libical/blob/cfd401b9d043214395888de1d9daf52263e3245b/src/libical/icalrecur.c#L2882>
20 
21 * FREQ=YEARLY, BYWEEKNO can't be combined with BYYEARDAY, BYMONTH or BYMONTHDAY
22 
23  ref: <https://github.com/libical/libical/blob/cfd401b9d043214395888de1d9daf52263e3245b/src/libical/icalrecur.c#L2928>
24 
25 ### DATE-TIME section 3.3.5
26 
27 The RFC states for "FORM #3: DATE WITH LOCAL TIME AND TIME ZONE REFERENCE":
28 
29 > If, based on the definition of the referenced time zone, the local
30 > time described occurs more than once (when changing from daylight
31 > to standard time), the DATE-TIME value refers to the first
32 > occurrence of the referenced time.
33 
34 This only is the case in libical for `icaltimetype` values having the`is_daylight` field set,
35 but this field is not set by the icalparser when parsing DATE-TIME values. As a consequence,
36 durations calculated from such ambiguous datetimes are incorrect.