feat: change to utc

This commit is contained in:
TrèsAbhi committed 2024-04-16 13:45:03 -05:00
1 parent 2b27954a3b
commit 6853d63bbb
1 file changed
+1 -1
+1 -1
View File
@@ -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) => ({