Alexander Belopolsky added the comment: It looks like pytz documentation [1] specifically warns about this kind of usage:
""" Unfortunately using the tzinfo argument of the standard datetime constructors ‘’does not work’’ with pytz for many timezones. """ [1] http://pytz.sourceforge.net/#localized-times-and-date-arithmetic ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22994> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com