Commit 4b499a78 authored by Jack Jansen's avatar Jack Jansen

Allow am/pm as well as AM/PM (C9X behaviour).

parent 445e2c57
......@@ -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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment