[issue12750] datetime.strftime('%s') should respect tzinfo
Daniel O'Connor
report at bugs.python.org
Wed Aug 17 05:17:00 CEST 2011
Daniel O'Connor <darius at dons.net.au> added the comment:
On 17/08/2011, at 12:42, Alexander Belopolsky wrote:
> Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:
>
>> it would appear the problem lies with strftime()
>
> Yes, strftime('%s') ignores tzinfo at the moment. This is not a bug. Support for '%s' format code is incidental and not documented in Python.
>
> Nevertheless I think this is a good feature request. I am changing the title to make it more explicit.
OK thanks!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12750>
_______________________________________
More information about the Python-bugs-list
mailing list