mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 14:00:17 +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 h = today.getUTCHours();
|
||||
let m = today.getUTCMinutes();
|
||||
let s = today.getUTCSeconds();
|
||||
|
||||
h = h + utcOffset;
|
||||
|
||||
@ -37,10 +36,8 @@ $(document).ready(function () {
|
||||
|
||||
h = checkTime(h);
|
||||
m = checkTime(m);
|
||||
s = checkTime(s);
|
||||
|
||||
// document.getElementById('clock').innerHTML = h + ":" + m + ":" + s;
|
||||
element.html(h + ':' + m + ':' + s);
|
||||
element.html(h + ':' + m);
|
||||
|
||||
setTimeout(function () {
|
||||
renderClock(element, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user