add timezone to runtime

This commit is contained in:
tooomm 2017-08-23 11:26:20 +02:00 committed by GitHub
parent 0c6b894f07
commit 0293efcea0

View File

@ -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):