Error 403 from Google Calendar? Upgrade to the new Google Calendar support. See here for details. close
Welcome, Guest
Please Login or Register.    Lost Password?

Error with target time for Countdown
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Error with target time for Countdown
#12697
Error with target time for Countdown 4 Years, 4 Months ago  
Playing with countdown (shadow4 skin) i saw something strange: Modify the time shows the corrects hours but not the minutes and the seconds.

Example:
adding 2010-01-01 00:00:00 shows 14:34:50
adding 2010-01-01 10:31:52 shows 04:34:50

Trying to isolate the problem, finally could find something: i know nothing about Lua language, but according to Lua manual reference the two field names of os.time are "min" and "sec" and not "minute" and "second". (Line 36 in countdown.lua)
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
#12716
Re: Error with target time for Countdown 4 Years, 4 Months ago  
Good catch. I fixed the script in the skin addon.
Rainy
Moderator
Posts: 6041
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop