summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-11 19:26:19 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-11-11 19:26:19 +0100
commit2d369776b0c3a161f0795fe6bc8e9342278a3ab3 (patch)
tree677a5113c0302b4ac2f8a6d430963fb2065cb9b3
parentimproved wait method for hoster (diff)
parentBetter log timestamp (diff)
downloadpyload-2d369776b0c3a161f0795fe6bc8e9342278a3ab3.tar.xz
Merge pull request #365 from vuolter/m/timestamp
Better timestamp
-rw-r--r--pyload/Core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/Core.py b/pyload/Core.py
index 4f20ae33e..324494500 100644
--- a/pyload/Core.py
+++ b/pyload/Core.py
@@ -513,9 +513,9 @@ class Core(object):
except: # something did go wrong, locale is heavily platform dependant
pass
- # default formatting when no one was obtained
+ # default formatting when no one was obtained (ex.: 2013-10-22 18:27:46)
if not tfrm:
- tfrm = "%d.%m.%Y %H:%M:%S"
+ tfrm = "%Y-%m-%d %H:%M:%S"
frm = logging.Formatter("%(asctime)s %(levelname)-8s %(message)s", tfrm)
console.setFormatter(frm)