]> Cypherpunks repositories - gostls13.git/commit
time: restore old error text for day out of range
authorRuss Cox <rsc@golang.org>
Thu, 7 Jan 2016 20:36:54 +0000 (15:36 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 8 Jan 2016 03:15:20 +0000 (03:15 +0000)
commite84dad3f6e394f15739db46d9f319f94a1537667
tree774127239d9766c92060edbce7c1576f85c37635
parent6b9298a2c52c60620c9af598c83a26627cc2d2cc
time: restore old error text for day out of range

Go 1.5 and earlier said "day out of range".
As part of working on this code it morphed into "day of month out of range".
To avoid churn in the output restore the old text.

This fixes some tests reported privately.

Change-Id: If179676cd49f9a471a9441fec2f5220c85eb0799
Reviewed-on: https://go-review.googlesource.com/18386
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/format.go
src/time/format_test.go