Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: noname HD by smallLUN
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;How can I change the 24 hour clock to a 12 hour clock on user pic lockscreen and ss lockscreen? ive tried changing code in lockscreen.html but i can't seem
...-
09-21-2011, 01:45 PM #41
How can I change the 24 hour clock to a 12 hour clock on user pic lockscreen and ss lockscreen? ive tried changing code in lockscreen.html but i can't seem to figure it out. Thanx
EDIT
I just replaced original code with
And Walla! It worked!Code:var currentTime = new Date ( ); var currentHours = currentTime.getHours ( ); var currentMinutes = currentTime.getMinutes ( ); var currentSeconds = currentTime.getSeconds ( ); // Pad the minutes and seconds with leading zeros, if required currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes; currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds; currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours; // Choose either "AM" or "PM" as appropriate var timeOfDay = ( currentHours < 12 ) ? "am" : "pm"; // 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; // Compose the string for display var currentTimeString = currentHours + ":" + currentMinutes; // Update the time display document.getElementById("clock").firstChild.nodeValue = currentTimeString;Last edited by laMe; 09-21-2011 at 04:00 PM.

-
The Following User Says Thank You to laMe For This Useful Post:
smallLUN (09-21-2011)
-
09-21-2011, 03:07 PM #42Fan of a Fan
- Join Date
- Oct 2010
- Location
- Las Vegas
- Posts
- 3,190
- Thanks
- 58
- Thanked 1,212 Times in 984 Posts
-
The Following User Says Thank You to DefJammable For This Useful Post:
smallLUN (09-21-2011)
-
09-21-2011, 03:46 PM #43
Just figured it out.... Posted solution in last post
Thnx tho
Last edited by laMe; 09-21-2011 at 04:01 PM.

-
09-23-2011, 11:11 AM #44My iPhone is a Part of Me
- Join Date
- Jul 2009
- Location
- grenada,ms
- Posts
- 759
- Thanks
- 588
- Thanked 620 Times in 348 Posts
A wallpaper I made if anybody wants it
-
-
09-24-2011, 04:13 PM #45
I think this is an excellent theme. But you'd probably get more foot traffic if you added a picture/thumbnail/whatever to the original thread link. I know I tend to bypass themes without the picture and sometimes it's not on purpose, it's just that without the picture the link tends to get lost in the crowd. Just my opinion.
-
09-24-2011, 06:56 PM #46Fan of a Fan
- Join Date
- Oct 2010
- Location
- Las Vegas
- Posts
- 3,190
- Thanks
- 58
- Thanked 1,212 Times in 984 Posts
-
09-24-2011, 07:31 PM #47
Last edited by smallLUN; 09-24-2011 at 07:34 PM.
-
09-24-2011, 07:48 PM #48
The sbsettings look great! Any ETA on the weather widget? Also I think you should add some good UIsounds. Just a thought! Thx for the amazing theme bro

-
09-24-2011, 07:52 PM #49
-
09-24-2011, 07:56 PM #50Livin the iPhone Life
- Join Date
- Sep 2010
- Posts
- 2,783
- Thanks
- 1,915
- Thanked 3,315 Times in 1,544 Posts
-
09-24-2011, 08:03 PM #51
-
09-24-2011, 08:19 PM #52
Very cool! Again, great job on the theme!!

-
The Following User Says Thank You to laMe For This Useful Post:
smallLUN (09-24-2011)
-
09-24-2011, 08:32 PM #53
-
The Following User Says Thank You to smallLUN For This Useful Post:
dakkota (09-24-2011)
-
09-24-2011, 08:37 PM #54
Veerrry sick theme you got here bro. Slick and awesome work. You are an underapreciated photoshop master
Keep it up!
-
09-24-2011, 09:00 PM #55
-
09-26-2011, 08:10 AM #56
Look very nice, Love the digital effects, great job. Will you be making a blue mod as well?
Last edited by D_One; 09-26-2011 at 08:18 AM.
-
The Following User Says Thank You to D_One For This Useful Post:
smallLUN (09-26-2011)
-
09-26-2011, 08:46 AM #57
-
09-26-2011, 09:19 AM #58My iPhone is a Part of Me
- Join Date
- Jun 2010
- Location
- Hawthorne,CA
- Posts
- 796
- Thanks
- 1,620
- Thanked 466 Times in 276 Posts
On 4.3.3 and wanted to know if these were supposed to be themed...The safari app bottom bookmark button and the camera app??
-
09-26-2011, 09:20 AM #59
another wow!!!! hoping this one have a free copy also =D
-
09-26-2011, 09:24 AM #60
Last edited by smallLUN; 09-26-2011 at 09:26 AM.
-
The Following User Says Thank You to smallLUN For This Useful Post:
doomsday116 (09-26-2011)




LinkBack URL
About LinkBacks
Reply With Quote

