changed date format in the header

This commit is contained in:
DYefremov
2019-06-04 13:06:02 +03:00
parent b5a9321c5c
commit 8afcec6b7e

View File

@@ -82,7 +82,7 @@ class ChannelsParser:
@staticmethod
def write_refs_to_xml(path, services):
header = '<?xml version="1.0" encoding="utf-8"?>\n<!-- {} -->\n<!-- {} -->\n<channels>\n'.format(
"Created in DemonEditor.", datetime.now().strftime("%Y-%m-%d_%H-%M-%S"))
"Created in DemonEditor.", datetime.now().strftime("%d.%m.%Y %H:%M:%S"))
doc = Document()
lines = [header]