Commit 7390d2f2 authored by Pat Moroney's avatar Pat Moroney Committed by Brad Fitzpatrick

time: clarify documentation for Location.String

Change-Id: I5c32a968303848304cbd6fe1e83bed0af11f6440
Reviewed-on: https://go-review.googlesource.com/48960Reviewed-by: default avatarCaleb Spare <cespare@gmail.com>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 0b62ebfd
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment