]> Cypherpunks repositories - gostls13.git/commit
time: Fix missing colon when formatting time zone offsets with seconds
authorJoel Stemmer <stemmertech@gmail.com>
Fri, 8 Aug 2014 19:42:20 +0000 (12:42 -0700)
committerRob Pike <r@golang.org>
Fri, 8 Aug 2014 19:42:20 +0000 (12:42 -0700)
commit298c623e8caadf68198ba7bc4e6b128cb87983d7
treed8d28272468847ca42dab184ed5fbffab7ffea56
parentf69f45c5383044c503add49d12659e14c1496491
time: Fix missing colon when formatting time zone offsets with seconds

When formatting time zone offsets with seconds using the stdISO8601Colon
and stdNumColon layouts, the colon was missing between the hour and minute
parts.

Fixes #8497.

LGTM=r
R=golang-codereviews, iant, gobot, r
CC=golang-codereviews
https://golang.org/cl/126840043
src/pkg/time/format.go
src/pkg/time/format_test.go