golang / tour

[mirror] A Tour of Go
BSD 3-Clause "New" or "Revised" License
1.55k stars 520 forks source link

tour: [time on remote server is wrong (Tuesday instead Saturday)] #1555

Closed akhasano closed 5 months ago

akhasano commented 11 months ago

Context: https://go.dev/tour/flowcontrol/10

Change the title above to describe your issue and add your feedback here, including code if necessary

I run it in Saturday, (i made fmt.Println(today) after "When's Saturday?")

When's Saturday? Tuesday Too far away.

It looks like wrong time in server.

ALTree commented 5 months ago

As explained in the notes:

Time in the Go playground always appears to start at 2009-11-10 23:00:00 UTC, a value whose significance is left as an exercise for the reader.