mirror of
https://github.com/golang/go
synced 2024-11-21 23:44:39 -07:00
time: typo in documentation
R=r CC=golang-dev https://golang.org/cl/4763048
This commit is contained in:
parent
47e6042f73
commit
95117d30a2
@ -434,7 +434,7 @@ func skip(value, prefix string) (string, os.Error) {
|
|||||||
// structure. Also, if the input string represents an inconsistent time
|
// structure. Also, if the input string represents an inconsistent time
|
||||||
// (such as having the wrong day of the week), the returned value will also
|
// (such as having the wrong day of the week), the returned value will also
|
||||||
// be inconsistent. In any case, the elements of the returned time will be
|
// be inconsistent. In any case, the elements of the returned time will be
|
||||||
// sane: hours in 0..23, minutes in 0..59, day of month in 0..31, etc.
|
// sane: hours in 0..23, minutes in 0..59, day of month in 1..31, etc.
|
||||||
// Years must be in the range 0000..9999.
|
// Years must be in the range 0000..9999.
|
||||||
func Parse(alayout, avalue string) (*Time, os.Error) {
|
func Parse(alayout, avalue string) (*Time, os.Error) {
|
||||||
var t Time
|
var t Time
|
||||||
|
Loading…
Reference in New Issue
Block a user