mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +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 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