Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Fixes issue 761.
R=PeterGo, adg, rsc
CC=golang-dev
http://codereview.appspot.com/1121042
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 734.
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/975042
Committer: Russ Cox <rsc@golang.org>
|
|
instead use pure substring matching to find template values.
this makes stdZulu unnecessary and allows formats
like "20060102 030405" (used in some internet protocols).
this makes Parse not handle years < 0000 or > 9999 anymore.
that seems like an okay price to pay, trading hypothetical
functionality for real functionality.
also changed the comments on the Time struct to use the
same reference date as the format and parse routines.
R=r
CC=golang-dev
http://codereview.appspot.com/833045
|
|
Make sure to print a time zone when formatting even if none is defined.
Add a comment introducing lookupTimezone (not lookupTimeZone).
Fixes isse 577.
R=rsc
CC=golang-dev
http://codereview.appspot.com/196090
|
|
Fixes issue 527.
R=rsc
CC=golang-dev
http://codereview.appspot.com/186159
|
|
allow formatting of ruby-style times.
Fixes issue 518.
R=rsc
CC=golang-dev
http://codereview.appspot.com/186119
|
|
allow an underscore to stand for a space or digit if the following number is >=10.
R=rsc
CC=golang-dev
http://codereview.appspot.com/186115
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/183141
|
|
add a benchmark
R=rsc
CC=golang-dev
http://codereview.appspot.com/181164
|
|
The model is that formatString is a a representation of a standard time,
and that Format converts the time to that representation.
Standard representaitons are defined for ANSIC, RFC850, RFC1123, and ISO8601.
There's also a humane Kitchen fomat: 3:04PM.
R=rsc, benolive, cw
CC=golang-dev
http://codereview.appspot.com/181130
|