koishi-plugin-ggcevo-game 0.3.15 → 0.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -451,7 +451,7 @@ ${itemDetails.join("\n")}`;
|
|
|
451
451
|
const targetDateChina = new Date(lastSignChina);
|
|
452
452
|
targetDateChina.setDate(targetDateChina.getDate() + 1);
|
|
453
453
|
targetDateChina.setHours(0, 0, 0, 0);
|
|
454
|
-
const targetDateUTC = new Date(targetDateChina.getTime() - 8 * 60 * 60 * 1e3);
|
|
454
|
+
const targetDateUTC = convertUTCtoChinaTime(new Date(targetDateChina.getTime() - 8 * 60 * 60 * 1e3));
|
|
455
455
|
const nowChina = convertUTCtoChinaTime(/* @__PURE__ */ new Date());
|
|
456
456
|
if (targetDateChina >= nowChina) return "暂时没有可补签的日期。";
|
|
457
457
|
const costPoints = 100;
|