Date format is not universal
See original GitHub issueExpected behavior:
My suggestion is that date format must be YYYY/MM/DD
, which is understandable in all areas.
Actual behavior:
HospitalRun is currently using format MM/DD/YYYY
for saving dates. This format of date is sometimes confusing and misleading for people in countries where standard format is DD/MM/YYYY
.
Steps to reproduce: Click Add Appointment, select Start date from calendar.
Screenshots (if applicable):
OS and Browser: Chrome on Windows 10
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (12 by maintainers)
Top Results From Across the Web
What is the universal date format? - Quora
The standard ISO format is : · 'YYYY-MM-DD HH:MM:SS[. · Note that MM end DD (Months and days are two digits with leading...
Read more >Date formatting - Globalization - Microsoft Learn
While there isn't a truly universal format understood by everyone in the world, but you can achieve at least a widely understood, unambiguous, ......
Read more >Date format by country - Wikipedia
Writers have traditionally written abbreviated dates according to their local custom, creating all-numeric equivalents to day–month formats such as "24 December ...
Read more >Use international date format (ISO) - Quality Web Tips - W3C
Albeit not perfect, ISO date format is, however, the best choice for a date representation that is universally (and accurately) understandable.
Read more >A universal date format - mythofechelon
Mar 5 A universal date format · The intended date can be determined regardless of author context or location. · It follows the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Would it be possible to render the date in the input field as the formatted version of the dates so there is no confusion? Eg: 15 Mar 2017
As an implementer of the software and trainer of users, I would find it useful to be able to set the date format system-wide. I work with users who have little computer experience and very basic literacy, so confusion between DD/MM/YYYY and MM/DD/YYYY will happen very easily. Setting the locale per browser is an acceptable approach for me, as I can set this as systems are rolled-out.