Author: bklaas
Date: Mon Mar 1 08:03:17 2010
New Revision: 8605
URL: http://svn.slimdevices.com/jive?rev=8605&view=rev
Log:
Fixed Bug: 15307
Description: there are 86400 seconds in a day
Ryan/aslak3: thanks for pointing this bug out :)
Modified:
7.5/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
Modified:
7.5/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
URL:
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua?rev=8605&r1=8604&r2=8605&view=diff
==============================================================================
---
7.5/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
(original)
+++
7.5/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
Mon Mar 1 08:03:17 2010
@@ -287,8 +287,8 @@
time = string.match(time, "(%d+)")
uptime = {}
- uptime.days = math.floor(time / 216000)
- time = math.fmod(time, 216000)
+ uptime.days = math.floor(time / 86400)
+ time = math.fmod(time, 86400)
uptime.hours = math.floor(time / 3600)
time = math.fmod(time, 3600)
uptime.minutes = math.floor(time / 60)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins