leaderboards now reset at midnight UTC

This commit is contained in:
Jack 2020-07-05 17:23:07 +01:00
parent 524b8aa96b
commit 6433119764

View file

@ -984,7 +984,6 @@ exports.getLeaderboard = functions.https.onCall((request, response) => {
exports.scheduledFunctionCrontab = functions.pubsub
.schedule("00 00 * * *")
.timeZone("Europe/London") // Users can choose timezone - default is America/Los_Angeles
.onRun((context) => {
try {
console.log("moving daily leaderboards to history");