Time not matching the system timezone.
mdtabrezpasha opened this issue · 4 comments
Describe the bug
The gui job's show time as per UTC clock instead of the local system clock. our time zone is Asia/Calcutta, but we get American time stamp on all our salt jobs.
To Reproduce
Steps to reproduce the behaviour:
- Change time zone on system
- Execute any command from saltgui
- check the job status. Time stamp is always UTC and not the local timezone.
Expected behaviour
Complted jobs should show the time as per the local system timezone.
Additional context
Add any other context about the problem here.
SaltGUI has no hard-coded timezone. any "American" timestamp is caused by using a server that has that timezone or a local browser that has that timezone.
you can change how SaltGUI displays (most) dates and times using parameter saltgui_datetime_representation
in the master configuration file. see chapter Time Representation
in the manual https://erwindon.github.io/SaltGUI/.
you can also inspect the current value by looking at the SaltGUI Options-page which is normally hidden.
use CTRL-CLICK on the SaltGUI logo (top-left of the window) to go there
you can even experiment with the different value, but changing settings in that screen is for the current session only
ping!
no reaction for more than one week.
please re-open when this is still an issue.