Cal,
delete_cal);
-#ifdef TECH_PREVIEW
-
/* handle recurring events */
if (icaltime_is_null_time(dtstart)) return; /* Can't recur without a start time */
/*
* Just let libical iterate the recurrence, and keep looping back to the top of this function,
* adding new hash entries that all point back to the same msgnum, until either the iteration
- * stops or some outer bound is reached. The display code *should* automatically do the right
- * thing (but we'll have to see).
+ * stops or some outer bound is reached. The display code will automatically do the Right Thing.
*/
rrule = icalcomponent_get_first_property(Cal->cal, ICAL_RRULE_PROPERTY);
}
lprintf(9, "Performed %d recurrences; final one is %s", num_recur, ctime(&final_recurrence));
-#endif /* TECH_PREVIEW */
-
}
}
else
IcalTime = icaltime_current_time_with_zone(get_default_icaltimezone());
- display_icaltimetype_as_webform(&IcalTime, "dtstart");
+ display_icaltimetype_as_webform(&IcalTime, "dtstart", 0);
wprintf("</TD></TR>\n");
wprintf("<TR><TD>");
}
else
IcalTime = icaltime_current_time_with_zone(get_default_icaltimezone());
- display_icaltimetype_as_webform(&IcalTime, "due");
+ display_icaltimetype_as_webform(&IcalTime, "due", 0);
wprintf("</TD></TR>\n");
todoStatus = icalcomponent_get_status(vtodo);
/*
* Anonymous request of freebusy data for a user
*/
-void do_freebusy(char *req) {
+void do_freebusy(const char *req) {
char who[SIZ];
char buf[SIZ];
int len;