Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
time: Re-load ZONEINFO at runtime #18619
On Windows, timezone calculations require presence of zoneinfo.zip file, which is found via the ZONEINFO environment variable. But in my situation, I am unable to set env vars, and it's not possible to re-set ZONEINFO after Go execution has already begun.
Would it be possible to add a method to
Right now i can only perform a workaround relaunching the binary with different environment.
What version of Go are you using (