projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa5c51
)
Form-to-icalrecur logic for monthly recurring events
author
Art Cancro
<ajc@citadel.org>
Mon, 10 Nov 2008 21:43:54 +0000
(21:43 +0000)
committer
Art Cancro
<ajc@citadel.org>
Mon, 10 Nov 2008 21:43:54 +0000
(21:43 +0000)
webcit/event.c
patch
|
blob
|
history
diff --git
a/webcit/event.c
b/webcit/event.c
index 041e5b83301084961117802b288a7fccd0ad1cfb..cabf2f9b9c6557bafb8dc7b942c86230773b7dce 100644
(file)
--- 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;