Made this some time ago, but got resprings now and then. Completely reworked and now it runs smoothly¬† ūüôā

=> HERE

Credits to Max Patrese for some of the base scripts .. and to XPPrem for the ‚real weather icons‘.

6+ only.


Instructions:

12h mode without double slash in front ..

<!– Convert hours component of „12“ to „24“ –>
currentHours = ( currentHours > 12 ) ? currentHours – 12 : currentHours;

24h mode with double slash in front ..

<!– Convert hours component of „12“ to „24“ –>
//currentHours = ( currentHours > 12 ) ? currentHours – 12 : currentHours;

 

Your location (WOEID) is to set in the WDC.html at ‚var locale‘.

Celsius to Fahrenheit at .. ‚var isCelsius = true‘ .. false for Fahrenheit.