Skip to content

Submit the value in RFC 3339 (yyyy-MM-dd) format #63

@TylerRick

Description

@TylerRick

It's problematic for it to just submit it using the locale format (MM/dd/yyyy where I live) since that is too ambiguous for the server to reliably parse.

Furthermore, I believe the HTML spec requires it to be submitted in RFC 3339, and that's what modern browsers do.

I tried out https://github.com/chemerisuk/better-dateinput-polyfill, which even claims this as a feature

submitted value always has yyyy-MM-dd [RFC 3339] format

but unfortunately had to abandon that since it didn't work in IE11 (chemerisuk/better-dateinput-polyfill#106).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions