Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2138)

Issue 186119: code review 186119: clean up handling of numeric time zones (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by r
Modified:
14 years, 3 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

clean up handling of numeric time zones allow formatting of ruby-style times. Fixes issue 518.

Patch Set 1 #

Total comments: 1

Patch Set 2 : code review 186119: clean up handling of numeric time zones #

Patch Set 3 : code review 186119: clean up handling of numeric time zones #

Total comments: 1

Patch Set 4 : code review 186119: clean up handling of numeric time zones #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -56 lines) Patch
M src/pkg/time/format.go View 1 2 3 12 chunks +70 lines, -43 lines 0 comments Download
M src/pkg/time/time_test.go View 3 chunks +18 lines, -13 lines 0 comments Download

Messages

Total messages: 6
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-01-13 05:32:03 UTC) #1
rsc
http://codereview.appspot.com/186119/diff/1/2 File src/pkg/time/format.go (right): http://codereview.appspot.com/186119/diff/1/2#newcode30 src/pkg/time/format.go:30: // Special case: use z to get the time ...
14 years, 3 months ago (2010-01-13 05:53:30 UTC) #2
r2
On Jan 13, 2010, at 4:53 PM, rsc@golang.org wrote: > > http://codereview.appspot.com/186119/diff/1/2 > File src/pkg/time/format.go ...
14 years, 3 months ago (2010-01-13 05:56:54 UTC) #3
r2
one ugly hack got me there. PTAL. -rob
14 years, 3 months ago (2010-01-13 23:45:11 UTC) #4
rsc
LGTM http://codereview.appspot.com/186119/diff/12/13 File src/pkg/time/format.go (right): http://codereview.appspot.com/186119/diff/12/13#newcode220 src/pkg/time/format.go:220: if soFar[len(soFar)-1] == '-' && zone > 0 ...
14 years, 3 months ago (2010-01-14 00:55:48 UTC) #5
r
14 years, 3 months ago (2010-01-14 00:57:42 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=0f80c5e80c0e ***

clean up handling of numeric time zones
allow formatting of ruby-style times.

Fixes issue 518.

R=rsc
CC=golang-dev
http://codereview.appspot.com/186119
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b