From 6be22dfd074decd636acd85bdd76a78b9a7164e2 Mon Sep 17 00:00:00 2001 From: Faidon Liambotis Date: Sun, 12 Mar 2023 18:32:39 +0200 Subject: [PATCH] docs: set html_last_updated_fmt to format string (#2937) --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9ca327cbe..0f89b7987 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -3,7 +3,7 @@ import re import subprocess import sys -from datetime import date, datetime +from datetime import date from importlib.machinery import SourceFileLoader from pathlib import Path from subprocess import check_output @@ -26,7 +26,7 @@ master_doc, source_suffix = "index", ".rst" html_theme = "furo" -html_title, html_last_updated_fmt = "tox", datetime.now().isoformat() +html_title, html_last_updated_fmt = "tox", "%Y-%m-%dT%H:%M:%S" pygments_style, pygments_dark_style = "sphinx", "monokai" html_static_path, html_css_files = ["_static"], ["custom.css"] html_logo, html_favicon = "_static/img/tox.svg", "_static/img/toxfavi.ico"