update date/time format (#114)

Remove invalid and redundant datetime tags
This commit is contained in:
tooomm 2017-07-11 04:21:07 +02:00 committed by tritoch
parent 2457a5bd34
commit a3a3fc74e3

View File

@ -495,7 +495,7 @@ def write_combined_xml(mtgjson, setinfos):
cardsxml.truncate()
cardsxml.write("<?xml version='1.0' encoding='UTF-8'?>\n"
"<cockatrice_carddatabase version='3'>\n")
cardsxml.write("<!--\n created (UTC): " + datetime.datetime.utcnow().strftime("%a %b %d %H:%M:%S %Z %Y")
cardsxml.write("<!--\n created (UTC): " + datetime.datetime.utcnow().strftime("%a, %b %d %Y, %H:%M:%S")
+ "\n by: Magic-Spoiler project @ https://github.com/Cockatrice/Magic-Spoiler\n -->\n")
cardsxml.write("<sets>\n")
for setcode in mtgjson: