[issue22994] datetime buggy
Alexander Belopolsky
report at bugs.python.org
Thu Dec 4 20:38:59 CET 2014
Alexander Belopolsky added the comment:
santhosh,
I would be interested to know how this gets resolved. I find it strange that zon gets fractional UTC offset:
>>> zon
<DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>
If you ask on a pytz-related forum, please post a link here.
Some other cases:
>>> pytz.timezone('US/Eastern')
<DstTzInfo 'US/Eastern' LMT-1 day, 19:04:00 STD>
>>> pytz.timezone('US/Central')
<DstTzInfo 'US/Central' LMT-1 day, 18:09:00 STD>
>>> pytz.timezone('Asia/Kolkata')
<DstTzInfo 'Asia/Kolkata' LMT+5:53:00 STD>
but
>>> pytz.timezone('Europe/Paris')
<DstTzInfo 'Europe/Paris' LMT+0:09:00 STD>
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22994>
_______________________________________
More information about the Python-bugs-list
mailing list