aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 1dcd49bc48..4d083819fb 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -908,7 +908,7 @@ filter_date (time_t date)
if (then.tm_mday == now.tm_mday &&
then.tm_mon == now.tm_mon &&
then.tm_year == now.tm_year) {
- strftime (buf, 26, _("Today %l:%M %p"), &then);
+ e_strftime_fix_am_pm (buf, 26, _("Today %l:%M %p"), &then);
done = TRUE;
}
if (!done) {
@@ -917,7 +917,7 @@ filter_date (time_t date)
if (then.tm_mday == yesterday.tm_mday &&
then.tm_mon == yesterday.tm_mon &&
then.tm_year == yesterday.tm_year) {
- strftime (buf, 26, _("Yesterday %l:%M %p"), &then);
+ e_strftime_fix_am_pm (buf, 26, _("Yesterday %l:%M %p"), &then);
done = TRUE;
}
}
@@ -929,7 +929,7 @@ filter_date (time_t date)
if (then.tm_mday == yesterday.tm_mday &&
then.tm_mon == yesterday.tm_mon &&
then.tm_year == yesterday.tm_year) {
- strftime (buf, 26, _("%a %l:%M %p"), &then);
+ e_strftime_fix_am_pm (buf, 26, _("%a %l:%M %p"), &then);
done = TRUE;
break;
}
@@ -937,9 +937,9 @@ filter_date (time_t date)
}
if (!done) {
if (then.tm_year == now.tm_year) {
- strftime (buf, 26, _("%b %d %l:%M %p"), &then);
+ e_strftime_fix_am_pm (buf, 26, _("%b %d %l:%M %p"), &then);
} else {
- strftime (buf, 26, _("%b %d %Y"), &then);
+ e_strftime_fix_am_pm (buf, 26, _("%b %d %Y"), &then);
}
}
#if 0