[issue34407] datetime.time.isoformat function has inconsistent behavior with timezone

2018-08-20 Thread Paul Ganssle
Paul Ganssle added the comment: For one thing, this is not how pytz is supposed to be used. You have fallen prey to one of the most common errors when using pytz. See my blog post: https://blog.ganssle.io/articles/2018/03/pytz-fastest-footgun.html The issue at hand is also more about what `p

[issue34407] datetime.time.isoformat function has inconsistent behavior with timezone

2018-08-17 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +belopolsky versions: -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list maili

[issue34407] datetime.time.isoformat function has inconsistent behavior with timezone

2018-08-14 Thread Maksym Shalenyi (Enkidulan)
New submission from Maksym Shalenyi (Enkidulan) : In some cases datetime.time.isoformat shows timezone info, but in some does not. Consider the example below. import datetime import pytz t = dict(hour=12, minute=31, second=21, microsecond=213456) # `datetime.time.isoformat` has inconsistent