Skip to content

Commit efb3a78

Browse files
Update BaseGenerator.js (#387)
Fix dateTime to be complient with html specifications
1 parent e1e332d commit efb3a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators/BaseGenerator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default class {
139139
return { type: "time" };
140140

141141
case "http://www.w3.org/2001/XMLSchema#dateTime":
142-
return { type: "dateTime" };
142+
return { type: "datetime-local" };
143143

144144
default:
145145
return { type: "text" };

0 commit comments

Comments
 (0)