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/gui/itip-utils.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'calendar/gui') 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 v1.2.3