-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Closed
Labels
Milestone
Description
I want to provide an API server which is capable of setting the system time zone.
After changing the system time zone, the running go process still uses the old timezone and it is not possible to refresh except restarting the process.
In java there is a java.util.TimeZone.setDefault() to switch the timezone of the VM. It would be nice to either provide something similar or to add a method to refresh the localLoc variable.