]> Cypherpunks repositories - gostls13.git/commitdiff
log: fix doc comment for Ldate
authorRuss Cox <rsc@golang.org>
Mon, 12 Mar 2012 20:29:33 +0000 (16:29 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 12 Mar 2012 20:29:33 +0000 (16:29 -0400)
Fixes #3303.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5795062

src/pkg/log/log.go

index 85374a05342da629726d74575b413c29078001cc..1d7f209d1daf676bce28a54aed4ba4bb3327b43a 100644 (file)
@@ -27,7 +27,7 @@ const (
        // order they appear (the order listed here) or the format they present (as
        // described in the comments).  A colon appears after these items:
        //      2009/0123 01:23:23.123123 /a/b/c/d.go:23: message
-       Ldate         = 1 << iota     // the date: 2009/0123
+       Ldate         = 1 << iota     // the date: 2009/01/23
        Ltime                         // the time: 01:23:23
        Lmicroseconds                 // microsecond resolution: 01:23:23.123123.  assumes Ltime.
        Llongfile                     // full file name and line number: /a/b/c/d.go:23