From 00ce51e38e92414bd5fb9ab6e5f439de2dd12177 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 15 Sep 2000 12:57:35 +0000 Subject: [PATCH] Allow am/pm as well as AM/PM (C9X behaviour). --- Lib/test/test_strftime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py index c713d05cc0c..7f5cb8035e4 100755 --- a/Lib/test/test_strftime.py +++ b/Lib/test/test_strftime.py @@ -23,8 +23,8 @@ def strftest(now): gmt = time.gmtime(now) now = time.localtime(now) - if now[3] < 12: ampm='AM' - else: ampm='PM' + if now[3] < 12: ampm='(AM|am)' + else: ampm='(PM|pm)' jan1 = time.localtime(time.mktime((now[0], 1, 1) + (0,)*6))