mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 06:20:16 +02:00
Merge branch 'improve_menu_bar' into 'v2.9.x'
Remove seconds from eve clock in menu bar See merge request allianceauth/allianceauth!1365
This commit is contained in:
commit
e3e6ebe953
@ -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