SilentGhost added the comment: According to documentation %z is the only directive that would result in the aware object. %Z is not capable of doing that, so what you're asking is a new feature - that could only go in 3.7
---------- components: +Library (Lib) nosy: +SilentGhost title: datetime.strptime %Z doesn't get included in the result -> datetime.strptime %Z doesn't produce aware object type: behavior -> enhancement versions: +Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28565> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com