[CalendarServer-changes] [160] CalendarServer/branches/users/cdaboo/quota/lib-patches/vObject/icalendar.patch

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 19 14:27:51 PDT 2006


Revision: 160
Author:   cdaboo at apple.com
Date:     2006-09-19 14:27:46 -0700 (Tue, 19 Sep 2006)

Log Message:
-----------
Fix bug.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/quota/lib-patches/vObject/icalendar.patch

Modified: CalendarServer/branches/users/cdaboo/quota/lib-patches/vObject/icalendar.patch
===================================================================
--- CalendarServer/branches/users/cdaboo/quota/lib-patches/vObject/icalendar.patch	2006-09-19 21:17:30 UTC (rev 159)
+++ CalendarServer/branches/users/cdaboo/quota/lib-patches/vObject/icalendar.patch	2006-09-19 21:27:46 UTC (rev 160)
@@ -40,6 +40,15 @@
          isDate = datetime.date == type(dtstart)
          if isDate:
              dtstart = datetime.datetime(dtstart.year,dtstart.month, dtstart.day)
+@@ -488,7 +506,7 @@
+ 
+                     if rule._bymonth is not None and len(rule._bymonth) > 0:
+                         if (rule._byweekday is not None or
+-                            len(rrule._bynweekday or ()) > 0 or
++                            len(rule._bynweekday or ()) > 0 or
+                             not (rule._freq == dateutil.rrule.YEARLY and
+                                  len(rule._bymonth) == 1 and
+                                  rule._bymonth[0] == rule._dtstart.month)):
 @@ -580,6 +598,8 @@
          if obj.value.tzinfo is None:
              obj.params['X-VOBJ-FLOATINGTIME-ALLOWED'] = ['TRUE']

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20060919/3ad1a60f/attachment.html


More information about the calendarserver-changes mailing list