From c89ee2f8f28c6c0b649cc0c7cd61fc08ccc5015a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 11 Feb 2010 14:42:12 -0500 Subject: [PATCH] [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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index fe5fb4c83..91a1de1bd 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;