projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
856af9c
)
input type="date" here will allow datepicker.js to be eliminated
author
root
<root@ellen.local.lan>
Wed, 2 Dec 2020 14:36:26 +0000
(09:36 -0500)
committer
root
<root@ellen.local.lan>
Wed, 2 Dec 2020 14:36:26 +0000
(09:36 -0500)
and should fall back to type="text" in the few remaining browsers
that don't support it.
webcit/calendar_tools.c
patch
|
blob
|
history
diff --git
a/webcit/calendar_tools.c
b/webcit/calendar_tools.c
index 86da183b8abcca7f6a8666b7e2b99a1ae1142fc5..3d875c307bdbc738c73b86a7072cf5b0ab5a55f1 100644
(file)
--- a/
webcit/calendar_tools.c
+++ b/
webcit/calendar_tools.c
@@
-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);