input type="date" here will allow datepicker.js to be eliminated
[citadel.git] / webcit / calendar_tools.c
index 86da183b8abcca7f6a8666b7e2b99a1ae1142fc5..3d875c307bdbc738c73b86a7072cf5b0ab5a55f1 100644 (file)
@@ -68,7 +68,7 @@ void display_icaltimetype_as_webform(struct icaltimetype *t, char *prefix, int d
                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);