feat: change to utc

This commit is contained in:
TrèsAbhi committed 2024-04-16 09:28:01 -05:00
1 parent b29f7ca7f5
commit 73903114c9
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) => ({