From dd33c1484e7a57ec7f91b76b8289e0bfbe530497 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 9 Nov 2010 13:50:43 +0000 Subject: [PATCH] Minutes and months were reversed in Python logging timestamps git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2059 9efc2488-bf62-4759-914b-345cdb29e865 --- src/python/osrf/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/osrf/log.py b/src/python/osrf/log.py index 906fd54..c27ee57 100644 --- a/src/python/osrf/log.py +++ b/src/python/osrf/log.py @@ -153,7 +153,7 @@ def __log_file(msg): global LOG_TYPE epoch = time.time() - timestamp = time.strftime('%Y-%M-%d %H:%m:%S', time.localtime(epoch)) + timestamp = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(epoch)) timestamp += '.%s' % str('%0.3f' % epoch)[-3:] # grab the millis logfile = None -- 2.11.0