Skip to content

HTML5 input datetime should be rendered as type "datetime-local" instaed of "datetime" #24307

Closed
@Shoplifter

Description

@Shoplifter
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.3.9

<input type="datetime"> has been removed from WHATWG HTML
see whatwg/html#336 and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime .

Instaed browsers implement and developers are encouraged to use <input type="datetime-local">

https://github.com/symfony/form/blob/master/Extension/Core/Type/DateTimeType.php#L196

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions