#include "webcit.h"
#include "webserver.h"
#include "time.h"
+#include "calendar.h"
/* Hour strings */
char *hourname[] = {
int i;
time_t now;
struct tm tm_now;
- int this_year;
time_t tt;
struct tm tm;
int all_day_event = 0;
now = time(NULL);
localtime_r(&now, &tm_now);
- this_year = tm_now.tm_year + 1900;
if (t == NULL) return;
if (t->is_date) all_day_event = 1;