Computerhilfen.de Logo
Forum
Tipps
News

iPhone 4 mit ios 5.0.1 Jailbreak

 Hallo ich habe ein Lockscreen themes auf meinem iphone 4.
Ich habe das Problem das die Uhr des Lockscreen 12:00 Uhr statt 0:00 Uhr anzeigt aber die richtige Uhr des iPhone 4 ist richtig.
Wie kann ich dies ändern?
Hier mal die LockBackround Datei.
<?xml version="1.0" encoding="UTF-16"?>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="refresh" content="900; url=Wallpaper.html"/>
</head>
<!---------------------------------------------------------------------------------------------------------------->
<!-- Option menu -->
<script>
   var EnableClock      =   true;
   var EnableCalendar   =   true;
   var EnableWeather   =   true;
</script>
<!---------------------------------------------------------------------------------------------------------------->
<!-- Style section -->
<style>
#Layer{width: 322px; height: 482px; position: absolute; top: -1px; right: 0px; down: 0px; left: -1px;}
.stretch {width:100%; height:100%;}

body {
   background-color: none;
   margin: 0;
   height: 481px;
   width: 320px;
}

td#Backgrounds
{
   margin-top: -1px;
   position: absolute; top: 0px; right: 0px; down: 0px; left: -1px;
}

SPAN#clock
{
   text-align: center;
   font-family: Helvetica;
   font-weight: bold;
   color: #150517;
    text-shadow: #FFFFFF 0px 0px 20px; opacity: 1;
   font-size: 55px;
   font-weight: 100;
   opacity: 0.9;
}

TD#date
{
   font-family: Helvetica;
   font-weight: 300;
   text-align: left;
   color:#FFFFFF;
   text-shadow: 0px 0px 18px #FF0000;
   font-size: 14px;
   text-transform: uppercase;
   opacity: 0.9;
   letter-spacing: 0.01em;
   
}

    SPAN#ampm
{
   font-family: Helvetica;
   font-weight: 100;
   color:    #306EFF;
   text-shadow: 0px 0px 18px #FFFFFF;   
   font-size: 14px;
   text-transform: uppercase;
   text-align: left;
   opacity: 0;
   letter-spacing: 2px;


}

TD#vmonth
{
   float:top;
   font-family: Helvetica;
   font-weight: 300;
   text-align: left;
   color:#FFFFFF;
   text-shadow: 0px 0px 18px #FFFFFF;
   font-size: 14px;
   text-transform: uppercase;
   opacity: 0.9;
   letter-spacing: 0.01em;
}

TD#vweek
{
   float:top;
   font-family: Helvetica;
   font-weight: 300;
   text-align: left;
   color:#FFFFFF;
   text-shadow: 0px 0px 18px #FFFFFF;
   font-size: 14px;
   opacity: 0.9;
   text-transform: uppercase;   
   //letter-spacing: 0.01em;
}

TD#vyear
{
   font-family: Helvetica;
   font-weight: 300;
   text-align: left;
   color:#FFFFFF;
    text-shadow: #FFFFFF 0px 0px 18px;
   font-size: 14px;
   letter-spacing: 0.01em;
    text-transform: uppercase;
   opacity: 0.8;

   
}

#WeatherContainer{
    background-color: rgba(0,0,0,0);
}

#TextContainer{
    font-size:20px;
   font-family: Helvetica;
    font-weight: 300;
    color: white;

}

#temp{
   position: absolute; top: 200px; left: 135; down: 0px; width: 320px; height: 461px;
   text-align: left;
   font-family: Helvetica;
   font-size: 12px;
   font-weight: 500;
   color: #FFFFFF;
   text-shadow: 0px 0px 18px #FFFFFF;
   //text-transform: uppercase;
   opacity: 0.7;
}

#desc{
   position: absolute; top: 463px; down: 0px; width: 320px; height: 461px;
   text-align: left;
   font-family: Helvetica;
   font-weight: 800;
   font-size: 14px;
   color: fffffff;
   text-shadow: none;
   text-transform: uppercase;
   text-shadow: 0px 0px 2px #FFFFFF;
   letter-spacing: 0.05em;
   opacity: 0.6;
   display: none;

   
}

#TextContainer p{
   margin:0;
}

#weatherIcon{
   position: absolute; top: 210px;down: 0px; left: 85px; width: 115px; height: 461px;
   height:50;
   width:50;
   opacity: 0.7;
}

</style>

<!---------------------------------------------------------------------------------------------------------------->
<!-- Display Wallpaper and Overlay here -->
<div id="Layer"><img src="LockBackground.png" class="stretch"/></div>
<div id="Layer"><img src="Overlay.png" class="stretch"/></img></div>

<!---------------------------------------------------------------------------------------------------------------->
<!-- Direct the script to the general folder where the weather icons are located -->
<base href="Weather/"/>

<!---------------------------------------------------------------------------------------------------------------->
<!-- Clock and Date Script -->
<script type="text/javascript">

function updateClock ( )
{
   var currentHours_name_array = new Array ("00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "00")
   var currentMinutes_name_array = new Array ("00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28","29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "00")
   var currentTime = new Date ( );
   var currentHours = currentTime.getHours ( );
   var currentMinutes = currentTime.getMinutes ( );
   var currentSeconds = currentTime.getSeconds ( );

// Convert an hours component of "0" to "12"
   //currentHours = ( currentHours == 0 ) ? currentHours + 24 : currentHours;

// Convert the hours component to 12-hour format if needed
   currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
   currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;
// Convert an hours component of "0" to "12"
   currentHours = ( currentHours == 0 ) ? 12 : currentHours;
    currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
// Compose the string for display
   var currentTimeString = currentHours + ":" + currentMinutes;

// Update the time display
   document.getElementById("clock").firstChild.nodeValue = currentTimeString ;

//Pad the minutes and seconds with leading zeros, if required
   currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;
    currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
    currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
}

function amPm ( )
{
   var currentTime = new Date ( );
   var currentHours = currentTime.getHours ( );

<!-- Convert hours component of "12" to "24" -->
   currentHours = currentHours;
   currentHours = ( currentHours < 0 ) ? currentHours + 24 : currentHours;

<!-- Defines either "AM" or "PM" as appropriate -->
   var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";

<!-- Compose the string for display-->
   var currentTimeString = timeOfDay;

<!-- Update the string for display of AM/PM-->
   if (EnableClock == true){
      document.getElementById("ampm").firstChild.nodeValue = currentTimeString;
   }
}

function calendarDate ( )
{
 



dies ist nur der ausschnitt wo die zeit eingestellt wird aber ich krieg es nicht hin das Mitternacht 0:00 angezeigt wird Statt 12:00,

« Kostenfalle in dem Tarif?Nokia E71 diverse Probleme »
 

Schnelle Hilfe: Hier nach ähnlichen Fragen und passenden Tipps suchen!