Skip to content

Commit

Permalink
Replace deprecated utcnow() call
Browse files Browse the repository at this point in the history
  • Loading branch information
bennybp committed Nov 10, 2023
1 parent 18f3ae8 commit 6d8ca0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basis_set_exchange/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ def _create_readme(fmt, reffmt):
Returns a str representing the readme file
'''

now = datetime.datetime.utcnow()
timestamp = now.strftime('%Y-%m-%d %H:%M:%S UTC')
now = datetime.datetime.now()
timestamp = now.strftime('%Y-%m-%d %H:%M:%S %Z')

# yapf: disable
outstr = _readme_str.format(timestamp=timestamp,
Expand Down

0 comments on commit 6d8ca0d

Please sign in to comment.