http://bugs.meego.com/show_bug.cgi?id=11233
pohly <patrick.ohly(a)intel.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |1.1.1
--- Comment #2 from pohly <patrick.ohly(a)intel.com> 2010-12-13 05:30:28 PST ---
commit 8d270a8604f61a8876f399822f351f7a02169bce
Author: Patrick Ohly <patrick.ohly(a)intel.com>
Date: Mon Dec 13 14:22:35 2010 +0100
vCalendar 1.0: convert absolute alarm back to relative (BMC #11233)
Already a while back we added conversion of alarm times from relative
to UTC for
Mobical.com. Later we used the same mechanism for Nokia
phones (BMC #1657).
Originally this was meant to work only for one-time events, for which
it doesn't matter how the alarm time is specified. For recurring
events, a fixed alarm time would only fire once, at least when
interpreted strictly. Experiments show that at least Nokia phones (and
thus perhaps also
Mobical.com) interpret a fixed alarm as "repeat
alarm with the same relative offset as on first occurrence".
Therefore it makes sense to apply that same transformation when
parsing vCalendar 1.0 events into the internal representation (and
thus from there into iCalendar 2.0). With this patch, a full
SyncEvolution->phone->SyncEvolution sync is possible without changing
the relative alarm times. Tested with several test cases (one time
alarm, different offsets, before and after event), see
test/testcases/ical20-alarms-2010-12-31.ics.
One minor data loss remains: an alarm relative to the end time of an
event will become an alarm relative to the start of the event, because
there is no way to reconstruct that difference. Not relevant in practice,
IMHO.
--
Configure bugmail:
http://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.