From 39a677e75a0f0a4b80d4457799ed44d21e173eaf Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 24 Sep 2001 21:47:48 +0000 Subject: Use e_strftime_fix_am_pm instead of strftime. 2001-09-24 Christopher James Lahey * message-list.c (filter_date): Use e_strftime_fix_am_pm instead of strftime. svn path=/trunk/; revision=13104 --- mail/message-list.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/message-list.c') 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 -- cgit v1.2.3