]> go.fuhry.dev Git - fsnotify.git/commitdiff
cmd/fsnotify: fix time.Format() string
authorMartin Tournoij <martin@arp242.net>
Thu, 4 Aug 2022 21:23:11 +0000 (23:23 +0200)
committerMartin Tournoij <martin@arp242.net>
Thu, 4 Aug 2022 21:23:11 +0000 (23:23 +0200)
cmd/fsnotify/main.go

index b92419ba401fbee9f57deb1181d3c753f4c7c59f..688779316783baeb162f9567dbd16f8e1c759ff0 100644 (file)
@@ -19,7 +19,7 @@ func fatal(err error) {
 }
 
 func line(s string, args ...interface{}) {
-       fmt.Printf(time.Now().Format("15:16:05.0000")+" "+s+"\n", args...)
+       fmt.Printf(time.Now().Format("15:04:05.0000")+" "+s+"\n", args...)
 }
 
 func main() {