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

DateTime picker displays mm/dd/yyyy time #21

Open
partiallyordered opened this issue Aug 9, 2021 · 3 comments
Open

DateTime picker displays mm/dd/yyyy time #21

partiallyordered opened this issue Aug 9, 2021 · 3 comments

Comments

@partiallyordered
Copy link
Contributor

Selection_232

The date is 9 August, 2021

At the risk of overstating, this is confusing for roughly 96% of the human population. Proposed alternatives (that probably still have problems, but are better):

YYYY-MM-DD e.g. 2021-08-09

  • Sorts lexicographically
  • Language agnostic
  • YYYY is probably clear, but the order of MM and DD may still confuse some readers. E.g. 2021-08-09: is this August 9 or September 8?

YYYY-MMM-DD e.g. 2021-Aug-09

  • Does not sort lexicographically
  • Not language agnostic (but can likely be internationalised)
  • Not confusing

Internationalised long date, e.g. for GB: 9 August, 2021

  • Does not sort lexicographically
  • Language agnostic (assuming internationalisation)
  • Not confusing
@millerabel
Copy link
Member

millerabel commented Aug 9, 2021 via email

@partiallyordered
Copy link
Contributor Author

Thanks @millerabel. I didn't write as much, but I did mean ISO8601 with my first "proposed alternative". Assuming I end up working on this it's likely that's what I'll adopt in the short term as I'm not familiar with js/browser localisation. I think localised dates are probably preferable, but certainly more work.

@millerabel
Copy link
Member

millerabel commented Aug 16, 2021 via email

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

No branches or pull requests

2 participants