Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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
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