Explorar el Código

Fixed the strftime format string.

Month was used where minute was supposed to be... wrong case :)
Heikki Hokkanen hace 16 años
padre
commit
1c38faf5c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      gitstats

+ 1
- 1
gitstats Ver fichero

@@ -463,7 +463,7 @@ class HTMLReportCreator(ReportCreator):
463 463
 			shutil.copyfile(basedir + '/' + file, path + '/' + file)
464 464
 
465 465
 		f = open(path + "/index.html", 'w')
466
-		format = '%Y-%m-%d %H:%m:%S'
466
+		format = '%Y-%m-%d %H:%M:%S'
467 467
 		self.printHeader(f)
468 468
 
469 469
 		f.write('<h1>GitStats - %s</h1>' % data.projectname)