On Fri, Apr 10, 2015 at 12:43 PM, Isaac Schwabacher <[email protected]>
wrote:
> (and strptime doesn't even let you pass in a time zone)
Not true:
>>> datetime.strptime('-0400 EDT', '%z %Z')
datetime.datetime(1900, 1, 1, 0, 0,
tzinfo=datetime.timezone(datetime.timedelta(-1, 72000), 'EDT'))
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com