[gnome-shell] [panel] Fix typo in previous clock patch



commit c89ee2f8f28c6c0b649cc0c7cd61fc08ccc5015a
Author: Colin Walters <walters verbum org>
Date:   Thu Feb 11 14:42:12 2010 -0500

    [panel] Fix typo in previous clock patch
    
    We shouldn't be displaying hours as 24 in am/pm case

 js/ui/panel.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index fe5fb4c..91a1de1 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -560,7 +560,7 @@ Panel.prototype = {
 	  this._clock.set_text(displayDate.toLocaleFormat(_("%a %R")));
 	} else {
 	  /* Translators: This is a time format.  */
-	  this._clock.set_text(displayDate.toLocaleFormat(_("%a %k:%M %p")));
+	  this._clock.set_text(displayDate.toLocaleFormat(_("%a %l:%M %p")));
 	}
         Mainloop.timeout_add(msecRemaining, Lang.bind(this, this._updateClock));
         return false;



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