mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
fix: Update start date in stats update function
This commit is contained in:
parent
63106f9008
commit
e03550423d
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user