February 15, 2022, 7:32pm
I am using the garbage widget of
@DrRSatzteil from the gallery (widget 117871).
For the various garbage items (DateTime) I also configured the
state description with the pattern below:
This format leads to the english date format:
I am wondering why, because my local settings in mainUI are set to Germany and German.
The author of the widget does not use specific format stuff which could have an effect.
And the item itself also shows the English day format:
Any suggestion where the “Friday” might come from would be greatly appreciated.
February 15, 2022, 7:57pm
I am wondering why,
I think datetime formatting (using the Java formatter) relies on the Java language settings.
I’m going to assume that you are running openHAB on Linux.
According to this posting:
this should be possible.
Open the /etc/default/openhab2 file using vi, nano, or any other text editor and add or update the following options to the EXTRA_JAVA_OPTS variable:
Next restart openHAB:
sudo systemctl restart openhab2.service
or simply reboot:
February 16, 2022, 5:48am
That’s awesome - I know this file from my java heap space experience - and it works like a charm!
Thanks for the guidance, @rossko57
I am always impressed by this swarm intelligence here in this forum!