From: Wilfried Göesgens Date: Tue, 23 Jun 2009 18:48:42 +0000 (+0000) Subject: * add dtstamp to our calendar events X-Git-Tag: v7.86~1008 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=cab784b63a8cc2a678f7fdc87f8bf25c95d1ae5d * add dtstamp to our calendar events --- diff --git a/webcit/event.c b/webcit/event.c index 26dd217bd..120091765 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -820,6 +820,11 @@ void save_individual_event(icalcomponent *supplied_vevent, long msgnum, char *fr icalproperty_free(prop); } + /* Add NOW() to the calendar object... */ + icalcomponent_set_dtstamp(vevent, + icaltime_from_timet( + time(NULL), 0)); + if (havebstr("summary")) { icalcomponent_add_property(vevent, icalproperty_new_summary(bstr("summary")));