Change chart date format

Is there a way to change the date format on the x-axis of the Analyse Charts?

image

At the moment it seems to be formatted month-day, which is awfully American… :slight_smile:

I wondered whether it had something to do with Regional Settings, but these are correct for my area, where we would usually use day-month-year

image

1 Like

Did you ever find a fix for this ?

Nope, but then I’m still on OH2 for my production system so I haven’t tried looking any further…

Thanks.
I’m doing exactly the same.
It’s a steep but interesting learning curve after always using config files for everything.
If I find an answer I’ll post it here.

1 Like

I’m on OH3 (Snapshot #2206) and my analysis chart looks like that:

I’m using a German language setting, changing it to UK English didn’t show to date as in the OP either.

Strange. I’m on the 3.0.1 Release Build.

runtimeInfo:
  version: 3.0.1
  buildString: Release Build
locale: en_GB

Analyse charts still have US date formatting.

If I run locale in a terminal on my OH3 device:

LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Which all seems correct? Not sure what else to look at.

Not many countries use month-day format.
Why not use ISO format?
Or better still pick up the format from the machine openhab is running on and then everyone would be happy.

Comment - related locale issue

1 Like

Looks like we have an answer for the moment: no, this can’t be changed.