mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-23 10:08:38 +00:00
added time function to js
This commit is contained in:
parent
f3fa563022
commit
2fdcdaa201
@ -85,6 +85,13 @@ ssb
|
||||
});
|
||||
});
|
||||
|
||||
function updateUTCTime() {
|
||||
const utcTimeElement = document.getElementById("utc-time");
|
||||
const now = new Date();
|
||||
const utcTimeString = now.toISOString().split("T")[1].split(".")[0];
|
||||
utcTimeElement.textContent = utcTimeString;
|
||||
}
|
||||
|
||||
function handleInput() {
|
||||
var qsodate = "";
|
||||
if ($("#qsodate").val()) {
|
||||
@ -550,6 +557,8 @@ function isWWFF(value) {
|
||||
|
||||
|
||||
$(document).ready(function () {
|
||||
setInterval(updateUTCTime, 1000);
|
||||
updateUTCTime();
|
||||
var tabledata = localStorage.getItem(`user_${user_id}_tabledata`);
|
||||
var mycall = localStorage.getItem(`user_${user_id}_my-call`);
|
||||
var operator = localStorage.getItem(`user_${user_id}_operator`);
|
||||
|
Loading…
Reference in New Issue
Block a user