summaryrefslogtreecommitdiff
path: root/configshell
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2012-12-19 16:00:53 -0800
committerAndy Grover <agrover@redhat.com>2012-12-19 16:00:53 -0800
commit359e3a498456a5822b9b41d88e004fb6c625bcc4 (patch)
treedc1006436db774a4ab0abb53e3466db7be2c60fd /configshell
parent263459706e405d411ba38160dd68ef133243ac0a (diff)
downloadconfigshell-fb-359e3a498456a5822b9b41d88e004fb6c625bcc4.tar.gz
Fix debug log date format to YYYY-MM-DDv1.1.fb6
Signed-off-by: Andy Grover <agrover@redhat.com>
Diffstat (limited to 'configshell')
-rw-r--r--configshell/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configshell/log.py b/configshell/log.py
index 1af1a33..05b3a4a 100644
--- a/configshell/log.py
+++ b/configshell/log.py
@@ -80,7 +80,7 @@ class Log(object):
'''
date_fields = time.localtime()
date = "%d-%02d-%02d %02d:%02d:%02d" \
- % (date_fields[0], date_fields[2], date_fields[1],
+ % (date_fields[0], date_fields[1], date_fields[2],
date_fields[3], date_fields[4], date_fields[5])
if self.prefs['logfile']: