poetic24 on DeviantArthttp://creativecommons.org/licenses/by-nc-sa/3.0/https://www.deviantart.com/poetic24/art/Release-LS-WeatherTouch-273618319poetic24

Deviation Actions

poetic24's avatar

-Release- LS WeatherTouch

By
Published:
8.3K Views

Description

LS WeatherTouch
(New name new name to avoid inconvenience to the site "www.weathertap.com")

See Preview here:
[link]

Supports: iOS 4.2.x - 4.3.x - 5.0.x
Instructions to configure ClockWeather.html
* Adjusting your weather location

To change the weather go to [link] and enter your location, then click on the "Find Weather" tab. Next, in the address bar, copy the 8-character code (Example: ITXX0042 = Milan,Italy). Open the ClockWeather.html file and search for "var locale" then paste your weather code in the "ITXX0042". If you want to change the weather to Fahrenheit, search for "var isCelsius" and then change this to "false". Example: “var isCelsius = true” will display your temperature in Celsius.

* Settings 24 Hours
Open file ClockWeather.html with editor text and search:

/*---------------------------------------------------------------------------------------------------------------------------------12 hours to 24 hour Edit------*/

// Convert the hours component to 12-hour format if needed

//currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;

// Convert an hours component of "0" to "12"

currentHours = ( currentHours == 0 ) ? 12 : currentHours;

remove only "//" in -->

// Convert the hours component to 12-hour format if needed

here -> //currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;

save berfore exit,enjoy ;)

* Settings Days and Months with your language
Open file ClockWeather.html with editor text and search:

var this_weekday_name_array = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")



var this_month_name_array = new Array("January","February","March","April","May","June","July","August","September","October","November","December")

* Setting your custom wallpaper

Select your preferred wallpaper and rename it to “Layer.png” and delete or rename original wallpaper..
Respring the device. enjoy :D

* hidden clock on the lockscreen for iOS 4.x
Lockscreen Clock hide support only 4.x - 4.2.x - 4.3.x

you have iOS 5.0.x?
Using Move2Unlock to hidden clock on the lockscreen ;)


Credits:
Laugend "slide" [link]

GrimLock38 "Wallpaper" [link]
Comments50
Join the community to add your comment. Already a deviant? Log In
Aggiungo che nonostante la modifica al file come da te descritto l'orario è rimasto a 12 ore :(
Se puoi essermi d'aiuto vorrei portarlo a 24 ore perfettamente funzionante ma per ora non ci sono proprio riuscito. Aspetto tue notizie, grazie dell'aiuto a priori.