Closed
Description
What version of Go are you using (go version
)?
Playground one, go version go1.8 darwin/amd64
, go version go1.7.3 darwin/amd64
, it's all wrong on these.
What operating system and processor architecture are you using (go env
)?
The go env
correspoding to the go version go1.7.3 darwin/amd64
version:
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/crufter/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/nm/gx94478n3dq9478jm5ndvpqh0000gn/T/go-build541649718=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
What did you do?
I put the example code from the time.Parse
docs on playground and I see a different output than the output in the doc. https://play.golang.org/p/tuBDbz66I0
What did you expect to see?
2013-02-03 19:54:00 -0800 PST
(Same as in documentation here: https://golang.org/pkg/time/#Parse)
What did you see instead?
2013-02-03 19:54:00 +0000 PST