From 0293efcea013665b35a6d25f002d567ee5f7e3d0 Mon Sep 17 00:00:00 2001 From: tooomm Date: Wed, 23 Aug 2017 11:26:20 +0200 Subject: [PATCH] add timezone to runtime --- spoilers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spoilers.py b/spoilers.py index e774ebfd..b3744706 100644 --- a/spoilers.py +++ b/spoilers.py @@ -487,7 +487,7 @@ def write_xml(mtgjson, code, name, releaseDate): if dfccount > 0: print 'DFC: ' + str(dfccount) print 'Newest: ' + str(newest) - print 'Runtime: ' + str(datetime.datetime.today().strftime('%H:%M')) + ' on ' + str(datetime.date.today()) + print 'Runtime: ' + str(datetime.datetime.today().strftime('%H:%M')) + ' (UTC) on ' + str(datetime.date.today()) def write_combined_xml(mtgjson, setinfos): @@ -635,7 +635,7 @@ def write_combined_xml(mtgjson, setinfos): if dfccount > 0: print 'DFC: ' + str(dfccount) print 'Newest: ' + str(newest) - print 'Runtime: ' + str(datetime.datetime.today().strftime('%H:%M')) + ' on ' + str(datetime.date.today()) + print 'Runtime: ' + str(datetime.datetime.today().strftime('%H:%M')) + ' (UTC) on ' + str(datetime.date.today()) def pretty_xml(infile):