diff --git a/docs/conf.py b/docs/conf.py index 91b31289..15114710 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ import os import sys -from datetime import datetime +from datetime import datetime, timezone from pathlib import Path if sys.version_info < (3, 11): @@ -64,7 +64,7 @@ # -- Project information ------------------------------------------------------ project = project_meta['name'] author = project_meta['authors'][0]['name'] -copyright = f'2015-{datetime.utcnow().year}, {author}' +copyright = f'2015-{datetime.now(tz=timezone.utc).year}, {author}' # The version info for the project you're documenting, acts as # replacement for |version| and |release|, also used in various other