correct minutes in timestamp
This commit is contained in:
parent
f3dedeb7e8
commit
620111c9d5
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -8,7 +8,7 @@ from parse import parse, wiki_stats
|
||||||
def print_wiki_stats(filename: str) -> None:
|
def print_wiki_stats(filename: str) -> None:
|
||||||
path = Path(filename)
|
path = Path(filename)
|
||||||
timestamp = datetime.fromtimestamp(path.stat().st_ctime)
|
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)))
|
print(wiki_stats(*parse(path)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue