]> Cypherpunks repositories - gostls13.git/commit
time: fix error message from Parse
authorRuss Cox <rsc@golang.org>
Mon, 4 Feb 2013 05:00:36 +0000 (00:00 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 4 Feb 2013 05:00:36 +0000 (00:00 -0500)
commit6b4cf2b36781bcc3fddd8374c68dd143d12dadc1
treea4ba41171fe4443a1369b46a7c2bbbd9d4978683
parent5fad7864521805c31d725ab156d02ac633610367
time: fix error message from Parse

Was incorrectly discarding the offending text in some cases.

Fixes #4493.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7277050
src/pkg/time/format.go
src/pkg/time/time_test.go