projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
184fff2
)
more work on the recurrence editor
author
Art Cancro
<ajc@citadel.org>
Tue, 21 Oct 2008 16:53:49 +0000
(16:53 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 21 Oct 2008 16:53:49 +0000
(16:53 +0000)
webcit/event.c
patch
|
blob
|
history
diff --git
a/webcit/event.c
b/webcit/event.c
index 24e9bd4c467d1f5e64593e0e0542df586b0f5a18..2d942aba49fc5658135e9d65ebf76f38b7c6128a 100644
(file)
--- a/
webcit/event.c
+++ b/
webcit/event.c
@@
-529,9
+529,9
@@
void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum,
((which_rrmonthtype_is_preselected == 0) ? "checked" : "")
);
((which_rrmonthtype_is_preselected == 0) ? "checked" : "")
);
- int rrmday =
1; /* FIXME default to same as event start */
+ int rrmday =
t_start.day;
int rrmweek = 1; /* FIXME default to same as event start */
int rrmweek = 1; /* FIXME default to same as event start */
- int rrmweekday =
1; /* FIXME default to same as event start */
+ int rrmweekday =
icaltime_day_of_week(t_start) - 1;
if (recur.by_month_day[0] != ICAL_RECURRENCE_ARRAY_MAX) {
which_rrmonthtype_is_preselected = 0;
if (recur.by_month_day[0] != ICAL_RECURRENCE_ARRAY_MAX) {
which_rrmonthtype_is_preselected = 0;