added time function to js

这个提交包含在:
HB9HIL 2023-11-04 12:45:07 +01:00
父节点 f3fa563022
当前提交 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`);