From c49805ce284c98318d14c1fb3374e2dc3bb502c2 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 10 Nov 2008 21:43:54 +0000 Subject: [PATCH] Form-to-icalrecur logic for monthly recurring events --- webcit/event.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webcit/event.c b/webcit/event.c index 041e5b833..cabf2f9b9 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -931,8 +931,9 @@ void save_individual_event(icalcomponent *supplied_vevent, long msgnum, char *fr recur.by_month_day[1] = ICAL_RECURRENCE_ARRAY_MAX; } else if (!strcasecmp(bstr("rrmonthtype"), "rrmonthtype_wday")) { - lprintf(9, "MONTHLY BY WDAY\n"); - /* FIXME implement this */ + recur.by_day[0] = (atoi(bstr("rrmweek")) * 8) + + atoi(bstr("rrmweekday")) + 1; + recur.by_day[1] = ICAL_RECURRENCE_ARRAY_MAX; } break; -- 2.30.2