]> Cypherpunks repositories - gostls13.git/commit
time: _2006 is a literal _, followed by 2006
authorEdward Muller <edwardam@interlix.com>
Sun, 25 Oct 2015 21:04:48 +0000 (14:04 -0700)
committerRob Pike <r@golang.org>
Wed, 18 Nov 2015 00:06:39 +0000 (00:06 +0000)
commitf4b4d2f4d9f574fe34b826bf0e6784956a247687
tree0525bc4844c750da7e372f73c4423d4a50e2561e
parent2619dccf3c44a38c7514c3db29d871d0640e83cb
time: _2006 is a literal _, followed by 2006

Otherwise _2006 is treated as _2 and then an error.

Fixes #11334

Change-Id: I40a385b45e279e9f4538bf419baab72781cdb215
Reviewed-on: https://go-review.googlesource.com/16311
Reviewed-by: Rob Pike <r@golang.org>
src/time/format.go
src/time/format_test.go