diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index aaff472d9a..c890f972aa 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2002-03-04 Dan Winship <danw@ximian.com> + + * gui/itip-utils.c (comp_compliant): Reset the DTSTAMP of the new + component. (RFC2245 says DTSTAMP corresponds to the time the + particular iCalendar representation of the object was created.) + Fixes #21198. + 2002-03-05 JP Rosevear <jpr@ximian.com> * gui/print.c: remove unneeded parameter from print_text_size diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index 1c651ce73a..ee4566c42f 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -644,8 +644,12 @@ static CalComponent * comp_compliant (CalComponentItipMethod method, CalComponent *comp) { CalComponent *clone, *temp_clone; + struct icaltimetype itt; clone = cal_component_clone (comp); + itt = icaltime_from_timet_with_zone (time (NULL), FALSE, + icaltimezone_get_utc_timezone ()); + cal_component_set_dtstamp (clone, &itt); /* We delete incoming alarms anyhow, and this helps with outlook */ cal_component_remove_all_alarms (clone); |