From f14114756067350de0f90429fa14873744207019 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 24 Dec 2000 22:50:41 +0000 Subject: Changed this to format times in 12 hour time instead of 24 hour time. 2000-12-24 Christopher James Lahey * message-list.c (filter_date): Changed this to format times in 12 hour time instead of 24 hour time. svn path=/trunk/; revision=7160 --- mail/ChangeLog | 5 +++++ mail/message-list.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 0b6ce30585..0d4b3bf03c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-12-24 Christopher James Lahey + + * 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 * message-list.c (filter_date): Changed this to do different 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); } -- cgit v1.2.3