mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 11:40:51 +08:00
修正体力模板一显示时间错误问题
This commit is contained in:
parent
9775aa4ac3
commit
6426468ff9
@ -117,7 +117,7 @@ export async function Note(e, {
|
|||||||
if (data.resin_recovery_time > 0) {
|
if (data.resin_recovery_time > 0) {
|
||||||
resinMaxTime = new Date().getTime() + data.resin_recovery_time * 1000;
|
resinMaxTime = new Date().getTime() + data.resin_recovery_time * 1000;
|
||||||
let maxDate = new Date(resinMaxTime);
|
let maxDate = new Date(resinMaxTime);
|
||||||
resinMaxTime =moment(maxDate).format("hh:mm");
|
resinMaxTime =moment(maxDate).format("HH:mm");
|
||||||
let Time_day = await dateTime_(maxDate)
|
let Time_day = await dateTime_(maxDate)
|
||||||
resinMaxTime_mb2 = Time_day + moment(maxDate).format("hh:mm");
|
resinMaxTime_mb2 = Time_day + moment(maxDate).format("hh:mm");
|
||||||
// console.log(format("dd", maxDate))
|
// console.log(format("dd", maxDate))
|
||||||
|
Loading…
Reference in New Issue
Block a user