aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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);
}