aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-25 06:50:41 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-25 06:50:41 +0800
commitf14114756067350de0f90429fa14873744207019 (patch)
tree093edf56a7c5c1785fa8c7a969b766d055840b93 /mail
parentac6661ee1265683ac81f5a5306540572d8cc491c (diff)
downloadgsoc2013-evolution-f14114756067350de0f90429fa14873744207019.tar
gsoc2013-evolution-f14114756067350de0f90429fa14873744207019.tar.gz
gsoc2013-evolution-f14114756067350de0f90429fa14873744207019.tar.bz2
gsoc2013-evolution-f14114756067350de0f90429fa14873744207019.tar.lz
gsoc2013-evolution-f14114756067350de0f90429fa14873744207019.tar.xz
gsoc2013-evolution-f14114756067350de0f90429fa14873744207019.tar.zst
gsoc2013-evolution-f14114756067350de0f90429fa14873744207019.zip
Changed this to format times in 12 hour time instead of 24 hour time.
2000-12-24 Christopher James Lahey <clahey@helixcode.com> * message-list.c (filter_date): Changed this to format times in 12 hour time instead of 24 hour time. svn path=/trunk/; revision=7160
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 0b6ce30585..0d4b3bf03c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2000-12-24 Christopher James Lahey <clahey@helixcode.com>
+ * message-list.c (filter_date): Changed this to format times in 12
+ hour time instead of 24 hour time.
+
+2000-12-24 Christopher James Lahey <clahey@helixcode.com>
+
* message-list.c (filter_date): Changed this to do different
formatting of dates within the last week.
diff --git a/mail/message-list.c b/mail/message-list.c
index 9d08d04308..32b27de593 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -969,7 +969,7 @@ filter_date (const void *data)
if (then.tm_mday == now.tm_mday &&
then.tm_mon == now.tm_mon &&
then.tm_year == now.tm_year) {
- strftime (buf, 26, _("Today %T"), &then);
+ strftime (buf, 26, _("Today %l:%M %p"), &then);
done = TRUE;
}
if (!done) {
@@ -978,7 +978,7 @@ filter_date (const void *data)
if (then.tm_mday == yesterday.tm_mday &&
then.tm_mon == yesterday.tm_mon &&
then.tm_year == yesterday.tm_year) {
- strftime (buf, 26, _("Yesterday %T"), &then);
+ strftime (buf, 26, _("Yesterday %l:%M %p"), &then);
done = TRUE;
}
}
@@ -990,7 +990,7 @@ filter_date (const void *data)
if (then.tm_mday == yesterday.tm_mday &&
then.tm_mon == yesterday.tm_mon &&
then.tm_year == yesterday.tm_year) {
- strftime (buf, 26, _("%a %T"), &then);
+ strftime (buf, 26, _("%a %l:%M %p"), &then);
done = TRUE;
break;
}
@@ -998,7 +998,7 @@ filter_date (const void *data)
}
if (!done) {
if (then.tm_year == now.tm_year) {
- strftime (buf, 26, _("%b %d %T"), &then);
+ strftime (buf, 26, _("%b %d %l:%M %p"), &then);
} else {
strftime (buf, 26, _("%b %d %Y"), &then);
}