align endTime to second to be faithful

This commit is contained in:
Sainan 2025-04-26 01:27:03 +02:00
parent e358e83140
commit bb5b242cf6

View File

@ -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: [
{