mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 05:58:13 +08:00
后台返回时间字符串
This commit is contained in:
@@ -593,6 +593,14 @@ HttpGet("/status", function (re) {
|
||||
$("#info_mask").html(status.mask);
|
||||
$("#info_gateway").html(status.gateway);
|
||||
$("#uptime").html(status.up_time);
|
||||
|
||||
//var now = new Date()
|
||||
//task_date.value = now.toLocaleDateString().replace(/\//g, '-');
|
||||
//task_date.value = now.getFullYear() + '-' + now.getMonth() + '-' + now.getDate();
|
||||
$("#task_date").value(status.date);
|
||||
$("#task_time").value(status.time);
|
||||
task_date.value = status.date;
|
||||
|
||||
});
|
||||
|
||||
//Menu-start
|
||||
|
||||
Reference in New Issue
Block a user