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: time.Time get wrong local time zone for some days #16553
I have create
I try to read code in
and I'm in China.. CST +08:00
run a simple main.go
and for my
It seems there is something wrong in
I tried to reproduce the issue of timezone to verify whether the issue is up to your computer or not. Actually, I could reproduce error identical to your error. This implies the issue is a bug of Go.
The above depicts the bug, not why happens, for these who don't live in China, such as me living in Korea.
I think that the bug stems from