fix time formatting
This commit is contained in:
parent
8249280b03
commit
a4bfe111cf
@ -40,6 +40,6 @@ for root, dirs, _ in walk(argv[1]):
|
||||
page += f""">*{','.join(metadata["Tags"])}*\n---\n"""
|
||||
|
||||
curtime = time.gmtime(int(time.time()))
|
||||
page += f"Last compiled: *{MONTHS[curtime.tm_mon]} {curtime.tm_mday}, {curtime.tm_year} {curtime.tm_hour}:{curtime.tm_min:2}*\n\n"
|
||||
page += f"Last compiled: *{MONTHS[curtime.tm_mon]} {curtime.tm_mday}, {curtime.tm_year} {curtime.tm_hour}:{curtime.tm_min:02d}*\n\n"
|
||||
|
||||
print(page_metadata + wrap_page(page))
|
||||
|
Loading…
Reference in New Issue
Block a user