added time function to js
这个提交包含在:
父节点
f3fa563022
当前提交
2fdcdaa201
共有 1 个文件被更改,包括 9 次插入 和 0 次删除
|
|
@ -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() {
|
function handleInput() {
|
||||||
var qsodate = "";
|
var qsodate = "";
|
||||||
if ($("#qsodate").val()) {
|
if ($("#qsodate").val()) {
|
||||||
|
|
@ -550,6 +557,8 @@ function isWWFF(value) {
|
||||||
|
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
setInterval(updateUTCTime, 1000);
|
||||||
|
updateUTCTime();
|
||||||
var tabledata = localStorage.getItem(`user_${user_id}_tabledata`);
|
var tabledata = localStorage.getItem(`user_${user_id}_tabledata`);
|
||||||
var mycall = localStorage.getItem(`user_${user_id}_my-call`);
|
var mycall = localStorage.getItem(`user_${user_id}_my-call`);
|
||||||
var operator = localStorage.getItem(`user_${user_id}_operator`);
|
var operator = localStorage.getItem(`user_${user_id}_operator`);
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用