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

Issue 7069046: code review 7069046: time: standard time doc fix and clarification (Closed)

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

Description

time: standard time doc fix and format example This fixes the incorrect unix timestamp of the standard time and adds an example for (Time) Format to clarify how timezones work in format strings. Fixes issue 4364.

Patch Set 1 #

Patch Set 2 : diff -r 29fab86e961e https://code.google.com/p/go #

Patch Set 3 : diff -r 29fab86e961e https://code.google.com/p/go #

Patch Set 4 : diff -r 29fab86e961e https://code.google.com/p/go #

Total comments: 6

Patch Set 5 : diff -r c9c786583d50 https://code.google.com/p/go #

Patch Set 6 : diff -r c9c786583d50 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1 line) Patch
M src/pkg/time/example_test.go View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M src/pkg/time/format.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16
cespare
Hello golang-dev@googlegroups.com (cc: rsc@golang.org), I'd like you to review this change to https://code.google.com/p/go
11 years, 3 months ago (2013-01-07 05:55:26 UTC) #1
remyoudompheng
Please add "Fixes issue 4364" in the CL description.
11 years, 3 months ago (2013-01-07 07:52:16 UTC) #2
cespare
Hello golang-dev@googlegroups.com, remyoudompheng@gmail.com (cc: golang-dev@googlegroups.com, rsc@golang.org), Please take another look.
11 years, 3 months ago (2013-01-07 07:57:10 UTC) #3
kevlar
https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go#newcode18 src/pkg/time/format.go:18: // includes a timezone, do not perform timezone conversions ...
11 years, 3 months ago (2013-01-07 19:23:48 UTC) #4
cespare
https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go#newcode18 src/pkg/time/format.go:18: // includes a timezone, do not perform timezone conversions ...
11 years, 3 months ago (2013-01-07 19:33:40 UTC) #5
kevlar
https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go#newcode18 src/pkg/time/format.go:18: // includes a timezone, do not perform timezone conversions ...
11 years, 3 months ago (2013-01-08 21:40:32 UTC) #6
cespare
https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go#newcode18 src/pkg/time/format.go:18: // includes a timezone, do not perform timezone conversions ...
11 years, 3 months ago (2013-01-08 21:52:31 UTC) #7
kevlar
https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go#newcode18 src/pkg/time/format.go:18: // includes a timezone, do not perform timezone conversions ...
11 years, 3 months ago (2013-01-08 22:16:25 UTC) #8
kevlar
On 2013/01/08 22:16:25, kevlar wrote: > // These are predetermined layouts for use in Time.Format. ...
11 years, 3 months ago (2013-01-08 22:18:36 UTC) #9
cespare
https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go File src/pkg/time/format.go (right): https://codereview.appspot.com/7069046/diff/4002/src/pkg/time/format.go#newcode18 src/pkg/time/format.go:18: // includes a timezone, do not perform timezone conversions ...
11 years, 3 months ago (2013-01-18 21:19:47 UTC) #10
rsc
Please fix the Unix time number and don't add other text. There's no agreement about ...
11 years, 3 months ago (2013-01-18 21:22:59 UTC) #11
rsc
(That is, a func ExampleTime_Format.)
11 years, 3 months ago (2013-01-18 21:23:18 UTC) #12
cespare
PTAL. I removed the extra doc changes and added a Format example.
11 years, 3 months ago (2013-01-18 22:54:02 UTC) #13
rsc
LGTM
11 years, 3 months ago (2013-01-22 19:44:20 UTC) #14
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=86a58e67f6e6 *** time: standard time doc fix and format example This fixes ...
11 years, 3 months ago (2013-01-22 19:44:53 UTC) #15
rsc
11 years, 3 months ago (2013-01-22 19:44:54 UTC) #16
LGTM
Sign in to reply to this message.

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