fix: Update start date in stats update function

This commit is contained in:
wood chen 2024-11-02 13:03:02 +08:00
parent 63106f9008
commit e03550423d

View File

@ -91,7 +91,7 @@
async function updateStats(stats) { async function updateStats(stats) {
const endpointConfig = await loadEndpointConfig(); const endpointConfig = await loadEndpointConfig();
const startDate = new Date('2024-10-26'); const startDate = new Date('2024-11-1');
const today = new Date(); const today = new Date();
const daysSinceStart = Math.ceil((today - startDate) / (1000 * 60 * 60 * 24)); const daysSinceStart = Math.ceil((today - startDate) / (1000 * 60 * 60 * 24));