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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. 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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-ggcevo-game",
3
3
  "description": "星际争霸2游戏大厅地图咕咕虫-evo小游戏",
4
- "version": "0.3.15",
4
+ "version": "0.3.17",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [