correct minutes in timestamp

This commit is contained in:
Johannes 2023-10-16 11:20:56 +02:00
parent f3dedeb7e8
commit 620111c9d5

View file

@ -8,7 +8,7 @@ from parse import parse, wiki_stats
def print_wiki_stats(filename: str) -> None:
path = Path(filename)
timestamp = datetime.fromtimestamp(path.stat().st_ctime)
print(f"Stand: {timestamp.strftime('%d.%m.%Y %H:%m Uhr')}")
print(f"Stand: {timestamp.strftime('%d.%m.%Y %H:%M Uhr')}")
print(wiki_stats(*parse(path)))