Mercurial > p > roundup > code
view roundup/anypy/datetime_.py @ 8345:35fab0db52f5
docs(install): document how to install gpg 2.0
Add link in install doc to upgrading doc and document pip command there.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 25 Jun 2025 23:05:19 -0400 |
| parents | d5d7ecd31864 |
| children |
line wrap: on
line source
# https://issues.roundup-tracker.org/issue2551278 # datetime.utcnow deprecated try: from datetime import UTC, datetime def utcnow(): return datetime.now(UTC) except ImportError: from datetime import datetime def utcnow(): return datetime.utcnow()
