Alexander Belopolsky added the comment: "Using something from datetime module" works as expected:
$ TZ=Europe/Moscow python3 -c "from datetime import datetime, timezone; print(datetime.now(timezone.utc).astimezone())" 2014-11-24 19:30:27.141542+03:00 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22932> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com