Closed sorenmogensen closed 2 years ago
https://go.dev/tour/flowcontrol/10
Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Ran the example - with added print statements to view the "today" variable
As today is Thursday, I expected the script to say that Saturday is two days away. It didn't.
The go.dev server seems to think today is Tuesday. That's going to be confusing to people trying to understand the script.
time on the playground is fixed, it's described below in the limitations section
Closing as working as intended
What is the URL of the page with the issue?
https://go.dev/tour/flowcontrol/10
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Screenshot
What did you do?
Ran the example - with added print statements to view the "today" variable
What did you expect to see?
As today is Thursday, I expected the script to say that Saturday is two days away. It didn't.
What did you see instead?
The go.dev server seems to think today is Tuesday. That's going to be confusing to people trying to understand the script.