]> Cypherpunks repositories - gostls13.git/commit
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)
commit7a33265ccdf37b7f15125f7e561e4da3a0e0ad9d
tree208b3c0629eaaaa3eab62ce45f5422cf88fe42c3
parent49397fe14557af2fc9e5becf03b543009a5b73a2
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