Skip to content

Commit 6be22df

Browse files
authored
docs: set html_last_updated_fmt to format string (#2937)
1 parent 177a227 commit 6be22df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import re
44
import subprocess
55
import sys
6-
from datetime import date, datetime
6+
from datetime import date
77
from importlib.machinery import SourceFileLoader
88
from pathlib import Path
99
from subprocess import check_output
@@ -26,7 +26,7 @@
2626
master_doc, source_suffix = "index", ".rst"
2727

2828
html_theme = "furo"
29-
html_title, html_last_updated_fmt = "tox", datetime.now().isoformat()
29+
html_title, html_last_updated_fmt = "tox", "%Y-%m-%dT%H:%M:%S"
3030
pygments_style, pygments_dark_style = "sphinx", "monokai"
3131
html_static_path, html_css_files = ["_static"], ["custom.css"]
3232
html_logo, html_favicon = "_static/img/tox.svg", "_static/img/toxfavi.ico"

0 commit comments

Comments
 (0)