时间处理改进
This commit is contained in:
parent
392cfd6d8e
commit
f80dd990f3
2 changed files with 3 additions and 3 deletions
4
main.js
4
main.js
|
@ -54,7 +54,7 @@ ui.layout(
|
|||
<img id="logo" w="64" h="64" src="file://logo.png" />
|
||||
<vertical marginLeft="8">
|
||||
<text text="mower-ng helper" textColor="black" textSize="22sp" />
|
||||
<text text="v1.2.0" />
|
||||
<text text="v1.3.0" />
|
||||
</vertical>
|
||||
</horizontal>
|
||||
<horizontal gravity="center">
|
||||
|
@ -280,7 +280,7 @@ ui.start.click(() => {
|
|||
|
||||
w_timer = setInterval(() => {
|
||||
if (scheduler.idle && scheduler.next_time) {
|
||||
task_time = new Date(scheduler.next_time.substring(0, 19));
|
||||
task_time = new Date(scheduler.next_time);
|
||||
next_time = format_time(task_time);
|
||||
remain_time = time_diff(task_time.getTime() - Date.now());
|
||||
} else {
|
||||
|
|
|
@ -16,5 +16,5 @@
|
|||
"packageName": "vip.zhaozuohong.mowernghelper",
|
||||
"scripts": {},
|
||||
"versionCode": 2,
|
||||
"versionName": "1.2.0"
|
||||
"versionName": "1.3.0"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue