[New-bugs-announce] [issue31646] bug in time.mktime

Kadir Liano report at bugs.python.org
Fri Sep 29 20:19:35 EDT 2017

New submission from Kadir Liano <kliano at yahoo.com>:

import time
fmt = '%d-%b-%y %H:%M:%S'
print(time.mktime(time.strptime('09-Mar-14 02:00:00',fmt)))

1394348400.0 in Windows 7, Python 2.7 and 3.6
1394352000.0 in LinuxMint LMDE 2, Python 3.6

components: Library (Lib)
messages: 303378
nosy: kliano
priority: normal
severity: normal
status: open
title: bug in time.mktime
type: behavior

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list