]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
The test I saw failing this morning just happened to be run at 8am
authorBarry Warsaw <barry@python.org>
Thu, 29 Aug 2002 15:25:04 +0000 (15:25 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 29 Aug 2002 15:25:04 +0000 (15:25 +0000)
commit375e0eeacc23394dfe5f21970070ea50ded1160b
tree62654fc6feb66f0351b4bee606b4edc87545f43b
parent1a8d19312107e83fff0dd141a432c5e5c9e7504a
The test I saw failing this morning just happened to be run at 8am
localtime, which in -0400 is 12 noon GMT.  The bug boiled down to
broken conversion of 12 PM to hour 12 for the '%I %p' format string.

Added a test for this specific condition: Strptime12AMPMTests.  Fix to
_strptime.py coming momentarily.
Lib/test/test_strptime.py