projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a454ebd
)
Allow am/pm as well as AM/PM (C9X behaviour).
author
Jack Jansen
<jack.jansen@cwi.nl>
Fri, 15 Sep 2000 12:57:35 +0000
(12:57 +0000)
committer
Jack Jansen
<jack.jansen@cwi.nl>
Fri, 15 Sep 2000 12:57:35 +0000
(12:57 +0000)
Lib/test/test_strftime.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_strftime.py
b/Lib/test/test_strftime.py
index c713d05cc0c699b908fb035f7e073fab002c201a..7f5cb8035e4451e375d96c27a4659061beed9b66 100755
(executable)
--- 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))