mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
leaderboards now reset at midnight UTC
This commit is contained in:
parent
524b8aa96b
commit
6433119764
1 changed files with 0 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue