From bb5b242cf6e29b29d943cea41a04ef9272728ee0 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sat, 26 Apr 2025 01:27:03 +0200 Subject: [PATCH] align endTime to second to be faithful --- src/services/personalRoomsService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/personalRoomsService.ts b/src/services/personalRoomsService.ts index 61e0ddda..310c2538 100644 --- a/src/services/personalRoomsService.ts +++ b/src/services/personalRoomsService.ts @@ -37,7 +37,7 @@ export const createGarden = (): IGardeningDatabase => { "/Lotus/Types/Items/Plants/MiscItems/DuvxDuviriGrowingPlantE", "/Lotus/Types/Items/Plants/MiscItems/DuvxDuviriGrowingPlantF" ]; - const endTime = new Date(Date.now() + 79200_000); // Plants will take 22 hours to grow + const endTime = new Date((Math.trunc(Date.now() / 1000) + 79200) * 1000); // Plants will take 22 hours to grow return { Planters: [ {