From 2e80fd0e5327f44469baa8a61dc245d712339119 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Sun, 3 May 2020 18:59:42 +0200 Subject: [PATCH] datetime is name of module and object --- template/documentation/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/documentation/build.py b/template/documentation/build.py index c1c72b7..976e9cf 100644 --- a/template/documentation/build.py +++ b/template/documentation/build.py @@ -31,7 +31,7 @@ import datetime with open("readme.template", "r") as r: template_readme = r.read() -template_readme = template_readme.replace("", datetime.now().isoformat()) +template_readme = template_readme.replace("", datetime.datetime.now().isoformat()) template_readme = template_readme.replace("", METADATA["name"]) template_readme = template_readme.replace("", METADATA["version"]) template_readme = template_readme.replace("", METADATA["shortName"])