[gnome-shell] Calendar: Remove leading zeros for 24h time format



commit 316f825b2ac718db509876c8b2ad11c2425266ca
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 7 14:58:22 2014 +0100

    Calendar: Remove leading zeros for 24h time format
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658675

 js/ui/calendar.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index e639ef7..bb78622 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -74,7 +74,7 @@ function _formatEventTime(event, clockFormat, periodBegin, periodEnd) {
         case '24h':
             /* Translators: Shown in calendar event list, if 24h format,
                \u2236 is a ratio character, similar to : */
-            ret = date.toLocaleFormat(C_("event list time", "%H\u2236%M"));
+            ret = date.toLocaleFormat(C_("event list time", "%k\u2236%M"));
             break;
 
         default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]