aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-07-02 02:44:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-07-02 02:44:39 +0800
commit50eff556547ae1bb142e3d453f731603095f7041 (patch)
tree4946c148384a57874e248819bdd23d24b8c482cb /mail/message-list.c
parent03b5e1899b556feb73af85b2dea61f3c7ca0d057 (diff)
downloadgsoc2013-evolution-50eff556547ae1bb142e3d453f731603095f7041.tar
gsoc2013-evolution-50eff556547ae1bb142e3d453f731603095f7041.tar.gz
gsoc2013-evolution-50eff556547ae1bb142e3d453f731603095f7041.tar.bz2
gsoc2013-evolution-50eff556547ae1bb142e3d453f731603095f7041.tar.lz
gsoc2013-evolution-50eff556547ae1bb142e3d453f731603095f7041.tar.xz
gsoc2013-evolution-50eff556547ae1bb142e3d453f731603095f7041.tar.zst
gsoc2013-evolution-50eff556547ae1bb142e3d453f731603095f7041.zip
Use the newer utf8 versions of the e_strftime*() functions since our
2003-06-27 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (filter_date): Use the newer utf8 versions of the e_strftime*() functions since our format strings are all now in UTF-8. * mail-display.c (mail_display_render): Use the newer e_utf8_strftime_fix_am_pm(). * mail-callbacks.c (mail_generate_reply): Use e_utf8_strftime(), otherwise we can end up with invalid utf-8. svn path=/trunk/; revision=21712
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 bb2d3e1464..d69981fbb6 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1076,7 +1076,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) {
- e_strftime_fix_am_pm (buf, 26, _("Today %l:%M %p"), &then);
+ e_utf8_strftime_fix_am_pm (buf, 26, _("Today %l:%M %p"), &then);
done = TRUE;
}
if (!done) {
@@ -1085,7 +1085,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) {
- e_strftime_fix_am_pm (buf, 26, _("Yesterday %l:%M %p"), &then);
+ e_utf8_strftime_fix_am_pm (buf, 26, _("Yesterday %l:%M %p"), &then);
done = TRUE;
}
}
@@ -1097,7 +1097,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) {
- e_strftime_fix_am_pm (buf, 26, _("%a %l:%M %p"), &then);
+ e_utf8_strftime_fix_am_pm (buf, 26, _("%a %l:%M %p"), &then);
done = TRUE;
break;
}
@@ -1105,9 +1105,9 @@ filter_date (time_t date)
}
if (!done) {
if (then.tm_year == now.tm_year) {
- e_strftime_fix_am_pm (buf, 26, _("%b %d %l:%M %p"), &then);
+ e_utf8_strftime_fix_am_pm (buf, 26, _("%b %d %l:%M %p"), &then);
} else {
- e_strftime_fix_am_pm (buf, 26, _("%b %d %Y"), &then);
+ e_utf8_strftime_fix_am_pm (buf, 26, _("%b %d %Y"), &then);
}
}
#if 0