Skip to content

Commit 325380f

Browse files
committed
change format from "date" to "date-time"
1 parent 4b73867 commit 325380f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/js/brutusin-json-forms.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ if (typeof brutusin === "undefined") {
194194
if (typeof value !== "number") {
195195
value = null;
196196
}
197-
} else if (s.format === "date") {
198-
input.type = "date";
197+
} else if (s.format === "date-time") {
198+
input.type = "datetime";
199199
} else if (s.format === "email") {
200200
input.type = "email";
201201
} else if (s.format === "text") {

0 commit comments

Comments
 (0)