diff --git a/tools/main_page_generator.py b/tools/main_page_generator.py index 5bd0ef3..3b8c4e2 100755 --- a/tools/main_page_generator.py +++ b/tools/main_page_generator.py @@ -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))