mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 16:00:17 +02:00
Remove seconds from eve clock in menu bar
This commit is contained in:
parent
2bd2c09c23
commit
3cd216d119
@ -23,7 +23,6 @@ $(document).ready(function () {
|
|||||||
let today = new Date();
|
let today = new Date();
|
||||||
let h = today.getUTCHours();
|
let h = today.getUTCHours();
|
||||||
let m = today.getUTCMinutes();
|
let m = today.getUTCMinutes();
|
||||||
let s = today.getUTCSeconds();
|
|
||||||
|
|
||||||
h = h + utcOffset;
|
h = h + utcOffset;
|
||||||
|
|
||||||
@ -37,10 +36,8 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
h = checkTime(h);
|
h = checkTime(h);
|
||||||
m = checkTime(m);
|
m = checkTime(m);
|
||||||
s = checkTime(s);
|
|
||||||
|
|
||||||
// document.getElementById('clock').innerHTML = h + ":" + m + ":" + s;
|
element.html(h + ':' + m);
|
||||||
element.html(h + ':' + m + ':' + s);
|
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
renderClock(element, 0);
|
renderClock(element, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user