diff options
Diffstat (limited to 'alot/helper.py')
-rw-r--r-- | alot/helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py index 1326f97e..a354d7a0 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -235,7 +235,7 @@ def pretty_datetime(d): >>> pretty_datetime(now - timedelta(days=356)) u'Apr 2011' """ - ampm = d.strftime('%P') + ampm = d.strftime('%p').lower() if len(ampm): hourfmt = '%I' + ampm hourminfmt = '%I:%M' + ampm |