diff --git a/scripts/test.ts b/scripts/test.ts index cab7f3bab..e8aa6c2cb 100644 --- a/scripts/test.ts +++ b/scripts/test.ts @@ -26,7 +26,7 @@ if (!region || !REGIONS.includes(region)) { } const today = new Date(); -const todayPath = `${today.getFullYear()}/${today.getMonth() + 1}/${today.getDate()}`; +const todayPath = `${today.getUTCFullYear()}/${today.getUTCMonth() + 1}/${today.getUTCDate()}`; const users = usersRaw.filter(({ blitz }) => idToRegion(blitz) === region); const base = Math.ceil(users.length / PLAYERS_PER_CHUNK); const chunks = times(base, (offset) => ({