From a60f5e911160d1f0b15e40a1eefe429b5fe973f9 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 30 Jul 2013 16:01:24 -0500 Subject: remove the leading zero from the terse time format string. --- src/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index d18a5cc..b99de94 100644 --- a/src/utils.c +++ b/src/utils.c @@ -294,13 +294,13 @@ get_terse_time_format_string (GDateTime * time) if (g_date_time_get_minute (time) != 0) { - /* a strftime(3) fmt string for a HH:MM 12 hour time */ + /* a strftime(3) fmt string for a HH:MM 12 hour time, eg "06:59 PM" */ fmt = T_("%I:%M %p"); } else { - /* a strftime(3) fmt string for a HH 12 hour time */ - fmt = T_("%I %p"); + /* a strftime(3) fmt string for a 12 hour on-the-hour time, eg "7 PM" */ + fmt = T_("%l %p"); } return fmt; -- cgit v1.2.3