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 rge-4.6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump PORTREVISION for ports depending on the canonical version of GCCgerald2019-07-271-0/+1
| | | | | | | | | | | | | | | as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330