Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use datetime-local instead datetime #1394

Closed
obsidienne opened this issue Jun 21, 2016 · 2 comments
Closed

Use datetime-local instead datetime #1394

obsidienne opened this issue Jun 21, 2016 · 2 comments
Labels

Comments

@obsidienne
Copy link

Hi,

When using html5: true for a datetime field, the input type generated is datetime. According to caniuse and whatwg/html#336, it should be datetime-local.

I have created a custom input just for that, maybe change this directly in the gem code ?

Thanks

@rafaelfranca
Copy link
Collaborator

Yeah, unfortunately the HTML 5 spec changed to remove datetime fields. We need to change Rails to fix this issue.

@lucasmazza
Copy link
Contributor

Fixed on rails/rails#25469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants