localtime_r(&tt, &tm);
}
- wc_printf("<input type=\"text\" name=\"");
+ wc_printf("<input type=\"date\" name=\"");
StrBufAppendBufPlain(WCC->WBuf, prefix, -1, 0);
wc_printf("\" id=\"");
StrBufAppendBufPlain(WCC->WBuf, prefix, -1, 0);
t->minute = IBSTR(vname);
/* time zone is set to the default zone for this server */
- t->is_utc = 0;
t->is_date = 0;
t->zone = get_default_icaltimezone();
}
sscanf((char*)BSTR(prefix), "%04d-%02d-%02d", &t->year, &t->month, &t->day);
/* time zone is set to the default zone for this server */
- t->is_utc = 1;
+ t->zone = icaltimezone_get_utc_timezone();
t->is_date = 1;
}