You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
time.String() produces non-standard output that time.Parse cannot handle. This goes against less is more since either a person needs to write a custom parser or change the output format which both increases the code base.
If marked as not a bug nor not fixing, documentation for time package should be updated to inform that that time.String output is incompatible with time.Parse.
What version of Go are you using (go version)?
go1.7.1 linux/amd64
What operating system and processor architecture are you using (go env)?
time.String() produces non-standard output that time.Parse cannot handle. This goes against less is more since either a person needs to write a custom parser or change the output format which both increases the code base.
If marked as not a bug nor not fixing, documentation for time package should be updated to inform that that time.String output is incompatible with time.Parse.
What version of Go are you using (
go version
)?go1.7.1 linux/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="$HOME/.local/share/go"
GORACE=""
GOROOT="/usr/lib/go"
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build766838131=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
https://play.golang.org/p/wmfQP5wX0S
The text was updated successfully, but these errors were encountered: