]> code.citadel.org Git - citadel.git/blobdiff - webcit/event.c
* add dtstamp to our calendar events
[citadel.git] / webcit / event.c
index 26dd217bd100725d506de64b3ff980463f25414f..1200917651a162cba4c4ad9b2c93e2d827c739b9 100644 (file)
@@ -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")));