Fixing the console time

Hi All

Does anyone know how to resolve this? The OH2 console shows 9pm, however the actual server shows it correctly. Adding this to the /etc/default/openhab2 file hasnt fixed the issue


JAVA_ARGS=-Duser.timezone=Australia/Sydney

kris@ihp:/etc/openhab2/rules$ date
Wed May  1 07:02:12 AEST 2019
kris@ihp:/etc/openhab2/rules$

By console do you mean the Karaf Console? If in the console are you talking about the logs or do you mean that when you type in date in the Karaf Console you get a different time than when you type in date on the command line?

Yes, karaf. I fixed it though, there was a syntax error the example I found on the forum was wrong.