time: allow any one- or two-digit day of the month when parsing.
In Parse, one can now say Feb 31 or even Feb 99. This is easy to explain, consistent with time.Date, and even maybe useful. Fixes #12333. Fixes #7268. (By disagreeing with it.) Change-Id: I7b95c842528bed66933681c8b9cc00640fccfcb4 Reviewed-on: https://go-review.googlesource.com/14123Reviewed-by: Ian Lance Taylor <iant@golang.org>
Showing
Please
register
or
sign in
to comment