]> Cypherpunks repositories - gostls13.git/commitdiff
time: clarify documentation for Location.String
authorPat Moroney <pat@pat.email>
Sat, 15 Jul 2017 20:39:00 +0000 (14:39 -0600)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 15 Jul 2017 20:49:42 +0000 (20:49 +0000)
Change-Id: I5c32a968303848304cbd6fe1e83bed0af11f6440
Reviewed-on: https://go-review.googlesource.com/48960
Reviewed-by: Caleb Spare <cespare@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/zoneinfo.go

index dfe857f436df98fc63eb7107f78c7937422856e8..f4d4df95d36446bf314998b637b7a723bbe4dd67 100644 (file)
@@ -82,7 +82,7 @@ func (l *Location) get() *Location {
 }
 
 // String returns a descriptive name for the time zone information,
-// corresponding to the argument to LoadLocation.
+// corresponding to the name argument to LoadLocation or FixedZone.
 func (l *Location) String() string {
        return l.get().name
 }