]> Cypherpunks repositories - gostls13.git/commitdiff
time: typo in documentation
authorRobert Griesemer <gri@golang.org>
Tue, 19 Jul 2011 00:54:32 +0000 (17:54 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 19 Jul 2011 00:54:32 +0000 (17:54 -0700)
R=r
CC=golang-dev
https://golang.org/cl/4763048

src/pkg/time/format.go

index 26f40d1419bf3e16be53cc3149233af1e39851e1..d07e1ad498e7267deee5c2bcb1b28ca9f84c78cb 100644 (file)
@@ -434,7 +434,7 @@ func skip(value, prefix string) (string, os.Error) {
 // structure.  Also, if the input string represents an inconsistent time
 // (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
-// 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.
 func Parse(alayout, avalue string) (*Time, os.Error) {
        var t Time