Header date/time uses UK locale for format #954
Labels
Feature request➕
New feature or request
next release/in dev image🚀
This is coming in the next release or was already released if the issue is Closed.
Is there an existing issue for this?
The issue occurs in the following browsers. Select at least 2.
Current Behavior
I'm unsure if this is a bug or a feature request: The header uses a UK date format (D/M/YYYY), which can be confusing for us odd Americans (where we use M/D/YYYY).
This appears to be hard-coded (see /front/php/templates/header.php, line 123), though I'm not particularly familiar with Date.toLocaleString().
Expected Behavior
Either use a locale based on the server TZ value, or use and ISO 8601 styled date format (YYYY-M-D) as appears to be common throughout the rest of the UI
Steps To Reproduce
app.conf
docker-compose.yml
What installation are you running?
Production (netalertx)
app.log
Not really applicable for this issue (date and time are correct - just not formatted based on the timezone). It's not an error, so logs probably wouldn't show anything useful. If absolutely needed, I can try to generate something.
Debug enabled
The text was updated successfully, but these errors were encountered: