view roundup/anypy/__init__.py @ 7590:5fbd3af526bd

fix: issue2551278 - datetime.datetime.utcnow deprecation. We now use the timezone aware utc dates for python 3.11+. But we have to make all the rest of the dates (datetime.min, unix epoch date) timezon aware so we can subtract them. Also need to marshall/unmarshall timezone aware iso formatted date strings.
author John Rouillard <rouilj@ieee.org>
date Thu, 27 Jul 2023 00:53:36 -0400
parents 868db43b302a
children
line wrap: on
line source

"""
roundup.anypy - compatibility layer for any Python 2.3+
"""
VERSION = '.'.join(map(str,
                       (0,
                        3,
                        )))

Roundup Issue Tracker: http://roundup-tracker.org/