diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-09-25 05:47:48 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-09-25 05:47:48 +0800 |
commit | 39a677e75a0f0a4b80d4457799ed44d21e173eaf (patch) | |
tree | 7d0ef2d661926648472366ec7e9bdd299acf592c /mail/message-list.c | |
parent | 7bad4f195b39315f2792fb824046ef1767206e77 (diff) | |
download | gsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.tar.gz gsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.tar.zst gsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.zip |
Use e_strftime_fix_am_pm instead of strftime.
2001-09-24 Christopher James Lahey <clahey@ximian.com>
* message-list.c (filter_date): Use e_strftime_fix_am_pm instead
of strftime.
svn path=/trunk/; revision=13104
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 10 |
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 |