mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 22:18:14 +08:00
定时任务精确到秒
This commit is contained in:
@@ -306,7 +306,7 @@
|
|||||||
<label class="mdl-textfield__label" for="sample1"></label>
|
<label class="mdl-textfield__label" for="sample1"></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="mdl-textfield mdl-js-textfield">
|
<div class="mdl-textfield mdl-js-textfield">
|
||||||
<input class="mdl-textfield__input" type="time" id="task_time">
|
<input class="mdl-textfield__input" type="time" step="1" id="task_time">
|
||||||
<label class="mdl-textfield__label" for="sample1"></label>
|
<label class="mdl-textfield__label" for="sample1"></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="mdl-textfield mdl-js-textfield">
|
<div class="mdl-textfield mdl-js-textfield">
|
||||||
@@ -864,7 +864,7 @@ var task_time = document.getElementById("task_time");
|
|||||||
//task_date.value = "2020-12-31";
|
//task_date.value = "2020-12-31";
|
||||||
//task_time.value = "10:08:00";
|
//task_time.value = "10:08:00";
|
||||||
task_date.value = (new Date()).Format("yyyy-MM-dd");
|
task_date.value = (new Date()).Format("yyyy-MM-dd");
|
||||||
task_time.value = (new Date()).Format("hh:mm:00");
|
task_time.value = (new Date()).Format("hh:mm:ss");
|
||||||
function AddTimedTask() {
|
function AddTimedTask() {
|
||||||
var dat = task_date.value;
|
var dat = task_date.value;
|
||||||
var tim = task_time.value;
|
var tim = task_time.value;
|
||||||
|
|||||||
@@ -306,7 +306,7 @@
|
|||||||
<label class="mdl-textfield__label" for="sample1"></label>
|
<label class="mdl-textfield__label" for="sample1"></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="mdl-textfield mdl-js-textfield">
|
<div class="mdl-textfield mdl-js-textfield">
|
||||||
<input class="mdl-textfield__input" type="time" id="task_time">
|
<input class="mdl-textfield__input" type="time" step="1" id="task_time">
|
||||||
<label class="mdl-textfield__label" for="sample1"></label>
|
<label class="mdl-textfield__label" for="sample1"></label>
|
||||||
</div>
|
</div>
|
||||||
<div class="mdl-textfield mdl-js-textfield">
|
<div class="mdl-textfield mdl-js-textfield">
|
||||||
@@ -864,7 +864,7 @@ var task_time = document.getElementById("task_time");
|
|||||||
//task_date.value = "2020-12-31";
|
//task_date.value = "2020-12-31";
|
||||||
//task_time.value = "10:08:00";
|
//task_time.value = "10:08:00";
|
||||||
task_date.value = (new Date()).Format("yyyy-MM-dd");
|
task_date.value = (new Date()).Format("yyyy-MM-dd");
|
||||||
task_time.value = (new Date()).Format("hh:mm:00");
|
task_time.value = (new Date()).Format("hh:mm:ss");
|
||||||
function AddTimedTask() {
|
function AddTimedTask() {
|
||||||
var dat = task_date.value;
|
var dat = task_date.value;
|
||||||
var tim = task_time.value;
|
var tim = task_time.value;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,7 @@
|
|||||||
#define wifi_log(M, ...) do { custom_log("WIFI", M, ##__VA_ARGS__); web_log("WIFI", M, ##__VA_ARGS__) } while(0)
|
#define wifi_log(M, ...) do { custom_log("WIFI", M, ##__VA_ARGS__); web_log("WIFI", M, ##__VA_ARGS__) } while(0)
|
||||||
#define power_log(M, ...) do { custom_log("POWER", M, ##__VA_ARGS__); web_log("POWER", M, ##__VA_ARGS__) } while(0)
|
#define power_log(M, ...) do { custom_log("POWER", M, ##__VA_ARGS__); web_log("POWER", M, ##__VA_ARGS__) } while(0)
|
||||||
|
|
||||||
#define VERSION "v2.0.6"
|
#define VERSION "v2.0.7"
|
||||||
|
|
||||||
#define TYPE 1
|
#define TYPE 1
|
||||||
#define TYPE_NAME "zTC1"
|
#define TYPE_NAME "zTC1"
|
||||||
|
|||||||
Reference in New Issue
Block a user