aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-09-25 05:47:48 +0800
committerChris Lahey <clahey@src.gnome.org>2001-09-25 05:47:48 +0800
commit39a677e75a0f0a4b80d4457799ed44d21e173eaf (patch)
tree7d0ef2d661926648472366ec7e9bdd299acf592c
parent7bad4f195b39315f2792fb824046ef1767206e77 (diff)
downloadgsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.tar
gsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.tar.gz
gsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.tar.bz2
gsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.tar.lz
gsoc2013-evolution-39a677e75a0f0a4b80d4457799ed44d21e173eaf.tar.xz
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c10
2 files changed, 10 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b61e1d97d6..c7781e86a0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-24 Christopher James Lahey <clahey@ximian.com>
+
+ * message-list.c (filter_date): Use e_strftime_fix_am_pm instead
+ of strftime.
+
2001-09-24 <NotZed@Ximian.com>
* mail-local.c (mls_get_folder): Removed unused variables.
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