[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. --

[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.timez