Skip to content

Commit

Permalink
MAINT: RTD doesn't like datetime.UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz committed Sep 25, 2023
1 parent 2d9b950 commit f4287da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
project = setup_cfg['name']
author = setup_cfg['author']
copyright = '{0}, {1}'.format(
datetime.datetime.now(datetime.UTC).year, setup_cfg['author'])
datetime.datetime.now(datetime.timezone.utc).year, setup_cfg['author'])

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

0 comments on commit f4287da

Please sign in to comment.