diff options
author | Dan Winship <danw@src.gnome.org> | 2002-03-06 05:44:44 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-03-06 05:44:44 +0800 |
commit | 1bc7073a9010d33a3998fd8fcd9cb45930593d05 (patch) | |
tree | 1e971fab93fbf5d1b879763b266e8c08f67ccc8d /calendar/gui/itip-utils.c | |
parent | 4db8df6b4da45e503aea556f7b3342cffa1f6e4c (diff) | |
download | gsoc2013-evolution-1bc7073a9010d33a3998fd8fcd9cb45930593d05.tar.gz gsoc2013-evolution-1bc7073a9010d33a3998fd8fcd9cb45930593d05.tar.zst gsoc2013-evolution-1bc7073a9010d33a3998fd8fcd9cb45930593d05.zip |
[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
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |