Skip to content

Commit

Permalink
Update BaseGenerator.js
Browse files Browse the repository at this point in the history
Fix dateTime to be complient with html specifications
  • Loading branch information
guillemfondin authored Aug 13, 2024
1 parent cb47c8b commit 1db59d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/BaseGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default class {
return { type: "time" };

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

default:
return { type: "text" };
Expand Down

0 comments on commit 1db59d1

Please sign in to comment.