From 1bc7073a9010d33a3998fd8fcd9cb45930593d05 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 5 Mar 2002 21:44:44 +0000 Subject: [pullup from evolution-1-0-branch] * 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. svn path=/trunk/; revision=15930 --- calendar/ChangeLog | 7 +++++++ calendar/gui/itip-utils.c | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'calendar') 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 + + * 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 * 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); -- cgit