Form-to-icalrecur logic for yearly events,
authorArt Cancro <ajc@citadel.org>
Mon, 10 Nov 2008 22:10:43 +0000 (22:10 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 10 Nov 2008 22:10:43 +0000 (22:10 +0000)
select by date or by month/week/day.  By date is complete.

webcit/event.c

index cabf2f9b9c6557bafb8dc7b942c86230773b7dce..86142ad8c25bbf5f3a8680e417964fa1cb6f000f 100644 (file)
@@ -938,7 +938,12 @@ void save_individual_event(icalcomponent *supplied_vevent, long msgnum, char *fr
                                        break;
 
                                case ICAL_YEARLY_RECURRENCE:
-                                       /* FIXME implement this */
+                                       if (!strcasecmp(bstr("rrmonthtype"), "rryeartype_ymday")) {
+                                               /* no further action is needed here */
+                                       }
+                                       if (!strcasecmp(bstr("rrmonthtype"), "rryeartype_ywday")) {
+                                               /* FIXME implement this */
+                                       }
                                        break;
 
                                /* This one can't happen either. */