Author: bklaas
Date: Tue Jul 20 10:38:52 2010
New Revision: 8972

URL: http://svn.slimdevices.com/jive?rev=8972&view=rev
Log:
Bug: n/a
Description: 12h conversion fix for when the clock hour is 12 or 24.

Modified:
    7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua

Modified: 
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua
URL: 
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua?rev=8972&r1=8971&r2=8972&view=diff
==============================================================================
--- 7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua 
(original)
+++ 7.6/trunk/squeezeplay/src/squeezeplay/share/applets/Clock/ClockApplet.lua 
Tue Jul 20 10:38:52 2010
@@ -147,6 +147,9 @@
        local theHour = time.hour
        if self.clock_format_hour == "%I" then
                theHour = time.hour % 12
+               if theHour == 0 then
+                       theHour = 12
+               end
        end
        return self:_padString(theHour)
 

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to