1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:21:22 -06:00
go/src
Rob Pike 8b96be15f6 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/14123
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-09-10 20:27:53 +00:00
..
archive archive/tar: don't treat multiple file system links as a tar hardlink 2015-08-04 17:34:43 +00:00
bufio bufio: Remove unneeded error initialization 2015-07-18 18:05:23 +00:00
builtin builtin: remove errant space in hyphenated adjective phrase 2015-06-28 21:41:38 +00:00
bytes bytes: improve Compare function on amd64 for large byte arrays 2015-08-26 03:52:20 +00:00
cmd cmd/internal/obj, cmd/link, runtime: a saner model for TLS on arm 2015-09-10 19:49:13 +00:00
compress compress/lzw: tidy up some flush calls. 2015-09-09 01:45:00 +00:00
container
crypto crypto/x509: emit PKIX names in a more standard order. 2015-08-30 15:34:48 +00:00
database/sql database/sql: close bad connections in commit or rollback: 2015-09-03 17:07:37 +00:00
debug all: remove executable bit from several files 2015-09-04 02:59:49 +00:00
encoding encoding/xml: Return SyntaxError for unmatched root start elements. 2015-09-10 01:18:30 +00:00
errors
expvar
flag flag: add comment stating that Set is called in sequence across the command line 2015-07-16 05:33:47 +00:00
fmt fmt: fix scientific notation in docs 2015-08-31 18:43:00 +00:00
go all: minor documentation tweaks for constants 2015-09-09 05:07:52 +00:00
hash hash/*: document the byte order used by the Sum methods 2015-09-10 03:34:23 +00:00
html html/template: preserve attr in stateBeforeValue 2015-09-09 23:31:06 +00:00
image image/png: reject zero-width and zero-height images. 2015-09-09 02:53:58 +00:00
index/suffixarray
internal internal/syscall/windows/registry: do not panic when data is large 2015-09-04 04:47:26 +00:00
io io: add WriteString support to MultiWriter 2015-09-01 04:00:12 +00:00
log
math math/big: add example for RoundingMode 2015-09-10 19:58:29 +00:00
mime mime: move examples to external test file 2015-08-22 18:39:29 +00:00
net net: Make Listen(":port") use IPv6 when IPv4 is not supported. 2015-09-05 02:31:22 +00:00
os os: remove a redundant branch in File.Read. 2015-08-31 04:42:04 +00:00
path all: fix some vet-caught formatting errors, mostly but not only in tests 2015-08-21 05:37:36 +00:00
reflect runtime: on map update, don't overwrite key if we don't need to. 2015-09-09 21:06:49 +00:00
regexp
runtime cmd/internal/obj, cmd/link, runtime: a saner model for TLS on arm 2015-09-10 19:49:13 +00:00
sort sort: Fix typo in Stable() comment 2015-08-17 06:58:16 +00:00
strconv strconv: add QuoteToGraphic and friends 2015-09-08 17:33:17 +00:00
strings all: link to https for golang subdomains too 2015-07-12 04:42:40 +00:00
sync runtime, sync/atomic: add memory barriers in arm cas routines 2015-07-30 20:11:11 +00:00
syscall syscall: implement getwd on Solaris 2015-09-09 19:58:33 +00:00
testing testing/quick: terminate for arbitrary recursive types 2015-08-29 19:23:37 +00:00
text text/template: perform value validity checks 2015-09-09 23:25:44 +00:00
time time: allow any one- or two-digit day of the month when parsing. 2015-09-10 20:27:53 +00:00
unicode unicode: include rune 0 in RangeTables. 2015-08-24 15:05:48 +00:00
unsafe
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: robust cleanup in case of failure. 2015-07-17 21:12:12 +00:00
bootstrap.bash build: Fix bootstrap.bash for official source tarballs 2015-09-01 19:52:59 +00:00
buildall.bash
clean.bash build: clean current tree in clean.bash 2015-08-05 19:36:15 +00:00
clean.bat
clean.rc
iostest.bash
make.bash make.bash: abort if $GOROOT_BOOTSTRAP == $GOROOT 2015-08-24 03:04:52 +00:00
make.bat
Make.dist
make.rc
nacltest.bash
race.bash all: link to https instead of http 2015-07-11 14:36:33 +00:00
race.bat all: link to https instead of http 2015-07-11 14:36:33 +00:00
run.bash
run.bat
run.rc