|
@@ -14,7 +14,7 @@ function addZero(num) {
|
|
function getSystemTime() {
|
|
function getSystemTime() {
|
|
date = new Date();
|
|
date = new Date();
|
|
element = document.getElementById("local");
|
|
element = document.getElementById("local");
|
|
- element.innerText = date.getDate() + "." + (date.getMonth() + 1) + "." + date.getYear() + " " + addZero(date.getHours()) + ":" + addZero(date.getMinutes()) + ":" + addZero(date.getSeconds());
|
|
|
|
|
|
+ element.innerText = date.getDate() + "." + (date.getMonth() + 1) + "." + (date.getYear() + 1900) + " " + addZero(date.getHours()) + ":" + addZero(date.getMinutes()) + ":" + addZero(date.getSeconds());
|
|
}
|
|
}
|
|
|
|
|
|
function getAlarm() {
|
|
function getAlarm() {
|