diff options
Diffstat (limited to 'libical/scripts')
-rwxr-xr-x | libical/scripts/mkderivedproperties.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libical/scripts/mkderivedproperties.pl b/libical/scripts/mkderivedproperties.pl index 965817eb30..8bd808e7f5 100755 --- a/libical/scripts/mkderivedproperties.pl +++ b/libical/scripts/mkderivedproperties.pl @@ -181,8 +181,9 @@ icalproperty* icalproperty_vanew_${lc}($type v, ...){ } EOM - # Allow EXDATEs to take DATE values easily. - if ($lc eq "exdate") { + # Allow DTSTART, DTEND, DUE, EXDATE and RECURRENCE-ID to take DATE values. + if ($lc eq "dtstart" || $lc eq "dtend" || $lc eq "due" || $lc eq "exdate" + || $lc eq "recurrenceid") { print<<EOM; void icalproperty_set_${lc}(icalproperty* prop, $type v){ icalvalue *value; |