]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] time.RFC822: make the string standard-compliant
authorRob Pike <r@golang.org>
Tue, 3 Apr 2012 20:54:39 +0000 (06:54 +1000)
committerRob Pike <r@golang.org>
Tue, 3 Apr 2012 20:54:39 +0000 (06:54 +1000)
commit02c38a83b9a68d4c3e90c18415c99e5f5b36dc94
tree7ea8204e947f1a4e0f73b70d7abe0319b3ee11c1
parent6b68716f85840f265f2a6605d12ae08757c52a91
[release-branch.go1] time.RFC822: make the string standard-compliant

««« backport fda7b4c9978d
time.RFC822: make the string standard-compliant
For mysterious reasons, the existing string was just wrong: it was missing a colon.
There is no apparent reason for this discrepancy.

This should be safe to fix because existing uses would not be RFC822-compliant;
people cannot be depending on it to generate correct mail headers.

Fixes #3444.

R=golang-dev, dsymonds, iant, rsc
CC=golang-dev
https://golang.org/cl/5969072
»»»
src/pkg/time/format.go
src/pkg/time/time_test.go