summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFaidon Liambotis <paravoid@debian.org>2023-03-12 18:32:39 +0200
committerGitHub <noreply@github.com>2023-03-12 09:32:39 -0700
commit6be22dfd074decd636acd85bdd76a78b9a7164e2 (patch)
tree0a6b963dd0c69700477a7189171b9f77b3ad495f
parent177a227889a93416bd154938361977486d14b0bb (diff)
downloadtox-git-6be22dfd074decd636acd85bdd76a78b9a7164e2.tar.gz
docs: set html_last_updated_fmt to format string (#2937)4.4.7
-rw-r--r--docs/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 9ca327cb..0f89b798 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -3,7 +3,7 @@ from __future__ import annotations
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 @@ copyright = f"2010-{date.today().year}, {company}"
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"