Change utcnow() to now()
Committed ce211f
--- a/tests/generate_docs.py
+++ b/tests/generate_docs.py
else:
story += "<div class=filler></div>"
story += "</div></section>"
- now = web.utcnow()
api = [
(name, gmpg.src.get_doc(mod))
for name, mod in gmpg.get_api("understory")["members"][0]
with (docs_dir / "index.html").open("w") as output_fp:
with (tests_dir / "docs_template.html").open() as template_fp:
output_fp.write(
- str(web.template(template_fp)(now, characters, toc, story, api, readme))
+ str(
+ web.template(template_fp)(
+ web.now(), characters, toc, story, api, readme
+ )
+ )
)