From cab784b63a8cc2a678f7fdc87f8bf25c95d1ae5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Tue, 23 Jun 2009 18:48:42 +0000 Subject: [PATCH] * add dtstamp to our calendar events --- webcit/event.c | 5 +++++ 1 file changed, 5 insertions(+) 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"))); -- 2.30.2