2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 11:40:51 +08:00

修正体力模板一显示时间错误问题

This commit is contained in:
leiyilu 2022-07-26 23:23:47 +08:00
parent 9775aa4ac3
commit 6426468ff9

View File

@ -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))