AcademySoftwareFoundation / OpenCue

A render management system you can deploy for visual effects and animation productions.
https://www.opencue.io
Apache License 2.0
831 stars 202 forks source link

RQD sets the locale to us/west? #969

Open donalm opened 3 years ago

donalm commented 3 years ago

Running datetime.datetime.now() in a Python process under RQD gives me Pacific time.

gregdenton commented 3 years ago

It looks like this is happening because of the rqmachine.getTimeZone method having a default response of 'PST8PDT' if the current timezone is not India. This then gets slurped up by rqcore when preparing the shell environment. @DiegoTavares , do you happen to know if there's a reason we need to be setting the shell time zone as opposed to letting it be driven by the system itself?