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

Date Formatted According To ISO8601 #942

Open
mattsputnikdigital opened this issue Oct 22, 2021 · 0 comments
Open

Date Formatted According To ISO8601 #942

mattsputnikdigital opened this issue Oct 22, 2021 · 0 comments

Comments

@mattsputnikdigital
Copy link

mattsputnikdigital commented Oct 22, 2021

Consider that the date mask is being used as a replacement for the <input type="date> where on desktop the input mask is used <input type="text" mask="d0/M0/0000"> and on mobile a native <input type="date> is used so the native date picker is invoked.

The native date input returns valid dates in the ISO8601 format "YYYY/MM/DD" but presents the user with either "MM/DD/YYYY" or "DD/MM/YYYY" depending on region.

It would be nice if the input mask could follow the same convention and work with ISO8601 formatted values.

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

No branches or pull requests

3 participants