[issue23388] datetime.strftime('%s') does not take timezone into account

2018-03-25 Thread Cheryl Sabella
Change by Cheryl Sabella : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> add cross-platform support for %s strftime-format code ___ Python tracker

[issue23388] datetime.strftime('%s') does not take timezone into account

2015-02-03 Thread Han Choongwoo
Changes by Han Choongwoo cwhan.t...@gmail.com: -- nosy: +tunz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23388 ___ ___ Python-bugs-list mailing

[issue23388] datetime.strftime('%s') does not take timezone into account

2015-02-03 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23388 ___ ___

[issue23388] datetime.strftime('%s') does not take timezone into account

2015-02-03 Thread cameris
New submission from cameris: The following occured on linux with python 3.4.2, the machines local timezone is tz2: import datetime tz1 = datetime.timezone.utc; tz2 = datetime.timezone(datetime.timedelta(seconds=3600)); tz3 = datetime.timezone(datetime.timedelta(seconds=18000)) d1 =

[issue23388] datetime.strftime('%s') does not take timezone into account

2015-02-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This looks like a duplicate of #12750. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23388 ___ ___

[issue23388] datetime.strftime('%s') does not take timezone into account

2015-02-03 Thread cameris
cameris added the comment: Yes, this seems to be exactly the same. Searching with All text*: '%s' didn't return anything, therefore I thought it is an unknown bug/behaviour. Well, sorry for the duplicate. -- ___ Python tracker