Skip to content

Commit f4287da

Browse files
committed
MAINT: RTD doesn't like datetime.UTC
1 parent 2d9b950 commit f4287da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
project = setup_cfg['name']
7979
author = setup_cfg['author']
8080
copyright = '{0}, {1}'.format(
81-
datetime.datetime.now(datetime.UTC).year, setup_cfg['author'])
81+
datetime.datetime.now(datetime.timezone.utc).year, setup_cfg['author'])
8282

8383
# The version info for the project you're documenting, acts as replacement for
8484
# |version| and |release|, also used in various other places throughout the

0 commit comments

Comments
 (0)