projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c11583
)
* add dtstamp to our calendar events
author
Wilfried Göesgens
<willi@citadel.org>
Tue, 23 Jun 2009 18:48:42 +0000
(18:48 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Tue, 23 Jun 2009 18:48:42 +0000
(18:48 +0000)
webcit/event.c
patch
|
blob
|
history
diff --git
a/webcit/event.c
b/webcit/event.c
index 26dd217bd100725d506de64b3ff980463f25414f..1200917651a162cba4c4ad9b2c93e2d827c739b9 100644
(file)
--- 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")));