Maximum length of a date input field is now 10 characters.
[citadel.git] / webcit / calendar_tools.c
index 3e946d945fdcc7ea23dae04d835292e9031e1439..7c47b0d3f129713014f87eee754e447b7c034bc4 100644 (file)
@@ -64,7 +64,7 @@ void display_icaltimetype_as_webform(struct icaltimetype *t, char *prefix, int d
        wprintf(prefix);
        wprintf("\" id=\"");
        wprintf(prefix);
-       wprintf("\" value=\"");
+       wprintf("\" size=\"10\" maxlength=\"10\" value=\"");
        wc_strftime(timebuf, 32, "%Y-%m-%d", &tm);
        wprintf(timebuf);
        wprintf("\">");