question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Date format is not universal

See original GitHub issue

Expected 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): hr date format

OS and Browser: Chrome on Windows 10

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (12 by maintainers)

github_iconTop GitHub Comments

4reactions
tchancommented, Mar 24, 2017

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

1reaction
drakemediccommented, Oct 2, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found