Commit graph

3 commits

Author SHA1 Message Date
Enrique J. Hernández Blasco cd64ca199a oc-calendar: wDay field cannot be negative
Furthermore, [MS-OXOCAL] Section 2.2.1.41.1 indicates:

   The wDay field is set to indicate
   the occurrence of the day of the week within the month
   (1 to 5, where 5 indicates the final occurrence during
   the month if that day of the week does not occur 5 times).

[rule firstOccurrence] may return negative values according to iCal spec for
recurrent rules iCal 4.8.5.4 Recurrence Rule. For instance, for defining
a timezone whose recurrent rule is done using this rule:

   RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU

This fixes the problem when editing a recurrent appointment in
Outlook were incorrectly shifted when SOGo provides back the event.
2014-11-19 17:12:30 +01:00
Wolfgang Sourdeau 89a41a9aa9 New method that returns a TimeZoneDefinition 2012-09-19 12:00:07 -04:00
Wolfgang Sourdeau ac6e45f1e9 Monotone-Parent: a77c26240c765963ea4295dc50c295c08809953e
Monotone-Revision: d9e87057688d279c42a3fde582339d3eb6cc2f10

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-26T20:50:36
Monotone-Branch: ca.inverse.sogo
2012-07-26 20:50:36 +00:00