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

Issue 5489111: code review 5489111: time: add ParseDuration. (Closed)

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

Description

time: add ParseDuration.

Patch Set 1 #

Patch Set 2 : diff -r 747c04659b0f https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 3 : diff -r 747c04659b0f https://go.googlecode.com/hg/ #

Total comments: 14

Patch Set 4 : diff -r 747c04659b0f https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 5 : diff -r 747c04659b0f https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 6 : diff -r aa99dd6bc07a https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 7 : diff -r 6bb207d24ffa https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -16 lines) Patch
M src/pkg/time/format.go View 1 2 3 4 5 6 2 chunks +130 lines, -16 lines 0 comments Download
M src/pkg/time/time_test.go View 1 2 3 4 5 2 chunks +77 lines, -0 lines 0 comments Download

Messages

Total messages: 14
dsymonds
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 7 months ago (2011-12-22 23:18:12 UTC) #1
r
http://codereview.appspot.com/5489111/diff/1002/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/1002/src/pkg/time/format.go#newcode901 src/pkg/time/format.go:901: // doesn't parse a sign, and allows for an ...
13 years, 7 months ago (2011-12-22 23:24:16 UTC) #2
dsymonds
http://codereview.appspot.com/5489111/diff/1002/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/1002/src/pkg/time/format.go#newcode901 src/pkg/time/format.go:901: // doesn't parse a sign, and allows for an ...
13 years, 7 months ago (2011-12-22 23:32:02 UTC) #3
r
http://codereview.appspot.com/5489111/diff/4001/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/4001/src/pkg/time/format.go#newcode892 src/pkg/time/format.go:892: // doesn't parse a sign, and allows for an ...
13 years, 7 months ago (2011-12-22 23:41:37 UTC) #4
dsymonds
http://codereview.appspot.com/5489111/diff/4001/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/4001/src/pkg/time/format.go#newcode892 src/pkg/time/format.go:892: // doesn't parse a sign, and allows for an ...
13 years, 7 months ago (2011-12-23 00:21:18 UTC) #5
r
LGTM leaving for rsc http://codereview.appspot.com/5489111/diff/5003/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/5003/src/pkg/time/format.go#newcode911 src/pkg/time/format.go:911: "μs": float64(Microsecond), // U+03BC = ...
13 years, 7 months ago (2011-12-23 00:48:57 UTC) #6
dsymonds
http://codereview.appspot.com/5489111/diff/5003/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/5003/src/pkg/time/format.go#newcode911 src/pkg/time/format.go:911: "μs": float64(Microsecond), // U+03BC = greek mu On 2011/12/23 ...
13 years, 7 months ago (2011-12-23 01:04:21 UTC) #7
rsc
http://codereview.appspot.com/5489111/diff/1003/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/1003/src/pkg/time/format.go#newcode923 src/pkg/time/format.go:923: // TODO(dsymonds): Handle multiple units (e.g. "5m30s"). This should ...
13 years, 7 months ago (2011-12-23 03:22:58 UTC) #8
r2
On Dec 22, 2011, at 7:22 PM, rsc@golang.org wrote: > > http://codereview.appspot.com/5489111/diff/1003/src/pkg/time/format.go > File src/pkg/time/format.go ...
13 years, 7 months ago (2011-12-23 03:54:11 UTC) #9
rsc
lgtm once those tests and the random round trips pass. leaving for rob or for ...
13 years, 7 months ago (2011-12-23 04:30:01 UTC) #10
dsymonds
All done. I'll submit this shortly. It's not in the weekly, and nothing except the ...
13 years, 7 months ago (2011-12-23 05:10:19 UTC) #11
r
LGTM http://codereview.appspot.com/5489111/diff/5006/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/5006/src/pkg/time/format.go#newcode920 src/pkg/time/format.go:920: // decimal number, with optional fraction and a ...
13 years, 7 months ago (2011-12-23 05:12:59 UTC) #12
dsymonds
http://codereview.appspot.com/5489111/diff/5006/src/pkg/time/format.go File src/pkg/time/format.go (right): http://codereview.appspot.com/5489111/diff/5006/src/pkg/time/format.go#newcode920 src/pkg/time/format.go:920: // decimal number, with optional fraction and a unit ...
13 years, 7 months ago (2011-12-23 05:28:22 UTC) #13
dsymonds
13 years, 7 months ago (2011-12-23 05:29:06 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=84d26aa7161e ***

time: add ParseDuration.

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

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