fix dlen
[citadel.git] / webcit / calendar_tools.c
index 86da183b8abcca7f6a8666b7e2b99a1ae1142fc5..488296ca7ed7b12a315708ed98b2edf392145185 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include "webcit.h"
-#include "webserver.h"
+
 #include "time.h"
 #include "calendar.h"
 
@@ -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);