From b0034fb8677863f749c029aabee9c463b2797fe5 Mon Sep 17 00:00:00 2001 From: unrenamed Date: Tue, 26 Dec 2023 14:13:45 +0200 Subject: [PATCH] chore: update tinybird seed script to generate data starting 2023-09-01 --- config/tinybird/scripts/generate_clicks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/tinybird/scripts/generate_clicks.ts b/config/tinybird/scripts/generate_clicks.ts index 6d2bd92..20428e6 100644 --- a/config/tinybird/scripts/generate_clicks.ts +++ b/config/tinybird/scripts/generate_clicks.ts @@ -218,7 +218,7 @@ const genRandEvent = () => { latitude: faker.location.latitude(), longitude: faker.location.longitude(), timestamp: faker.date.between({ - from: new Date(new Date().setFullYear(new Date().getFullYear() - 1)), + from: new Date("2023-09-01"), to: new Date(), }), referrer: