diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-10-03 08:04:46 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-10-03 08:04:46 -0500 |
commit | 68e0937c7bcee9bc0d6b29e7de136c3b2762d495 (patch) | |
tree | 93e0e556be01fba5e82291080b67cae2a0831e93 /src | |
parent | ece762ee2e2fe52b4932e0c1dc6826fa06705c38 (diff) | |
download | ayatana-indicator-datetime-68e0937c7bcee9bc0d6b29e7de136c3b2762d495.tar.gz ayatana-indicator-datetime-68e0937c7bcee9bc0d6b29e7de136c3b2762d495.tar.bz2 ayatana-indicator-datetime-68e0937c7bcee9bc0d6b29e7de136c3b2762d495.zip |
remove the leading zero in the hour component of 'terse' time format.
Diffstat (limited to 'src')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index 9b0f24f..bbb24ac 100644 --- a/src/utils.c +++ b/src/utils.c @@ -301,8 +301,8 @@ 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, eg "06:59 PM" */ - fmt = T_("%I:%M %p"); + /* a strftime(3) fmt string for a H:MM 12 hour time, eg "6:59 PM" */ + fmt = T_("%l:%M %p"); } else { |