Shop More Submit  Join Login
×



Details

Submitted on
April 22, 2012
File Size
14.5 KB
Link
Thumb
Embed

Stats

Views
640 (1 today)
Favourites
5 (who?)
Comments
5
Downloads
77

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution 3.0 License.
×
Verbal Clock by compass-uk Verbal Clock by compass-uk
Displays the time in Words

13/5/12 : Added option to change text and background colours via menu options. Any colour for background or text can be selected via a colour-picker.

22/7/12 : Fixed bug in time display of hours on the last 29 minutes of the hour, as picked up by dagestuff.

This widget requires XWidget 1.4.0 or higher.
Add a Comment:
 
:icondagestuff:
dagestuff Featured By Owner Jul 22, 2012
Wow!!! Thanks a million for your help!!! Now it works perfectly. I'll upload "Word Clock" later this day, (credit goes to you, of corse!) - greetings from Germany :greetings: :-)
Reply
:iconcompass-uk:
compass-uk Featured By Owner Jul 22, 2012
You're welcome. I'll keep an eye out for the results.
Reply
:icondagestuff:
dagestuff Featured By Owner Jul 21, 2012
Hallo,
I'm working on a "word clock" for XWidget using your "verbal clock" script (Thanks for sharing it!), but
it seems as if there is a litte bug in it. Every hour, starting at a quarter to 1 o'clock , to 2 o'clock etc. the clock shows the wrong hour. For instance " one minute to four" at 4:59 instead of "one minute to five". Unfortunately I'm a newbie at JavaScript and cannot fix it. It would be great if you could help me to fix that! Thank you very much!
screenshot [link]
Reply
:iconcompass-uk:
compass-uk Featured By Owner Jul 22, 2012
Time display bug has been corrected.
Added the following line of code ;
timeH++; if (timeH>12) { timeH = 1; }
to follow after ;
timeM=30-(timeM-30);
in function clockOnUpdate as part of the true actions for (timeM>30)
Reply
:iconcompass-uk:
compass-uk Featured By Owner Jul 21, 2012
Okay, I'll have a look into it.
(I don't actually use this widget, it was just a programming exercise, so I may have noticed it myself.)
Reply
Add a Comment: