raspiblitz-web
raspiblitz-web copied to clipboard
Current Date formatting is confusing
- Either adjust date format to local date or make it relative (e.g. 2 hours ago)
You talk about a specific date in the app or all dates?
Was mostly about the transaction view, since it could be confusing that it's MM/DD/YYYY
So relative could be an option there or maybe change the format depending on the locale
MM/DD/YYYY
-> worst... format... ever... :D
I can understand clearly dates in:
-
DD/MM/YYYY
-
YYYY-MM-DD
and time in:
-
hh-mm-ss
If less than one day, put relative time, X
hours/mins/seconds ago. If more than one day, then date is better I think.
The MM/DD/YYYY
is unusable for non muricans.
The current code is using toLocaleString
.
According to mdn this will display a format depdending on the individual timezone. Isn't that sufficient already?
Could be, not sure yet.
We could move that back to low prio and wait until first feedback comes in for the 2.0.0 version if you like.