From 4ffd25bc379dc48f0925297d0bb44bd266ede0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Ayd=C4=B1n?= Date: Sun, 21 Jun 2026 17:51:26 +0300 Subject: [PATCH] fix: use fixed 89-day window for run_checks The start time for `searchEvents` was calculated using a **3-month interval** (`P3M`), which is calendar-based and can resolve to 80+ days depending on which months are involved. The Fingerprint API rejects start times older than 90 days, causing the `run_checks.php` script to fail when 3 calendar months exceeded that threshold. Replaced `P3M` with `P89D` to use a fixed 89-day window that always stays within the API limit. --- run_checks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_checks.php b/run_checks.php index 1a0e50f8..9fe8cdd4 100644 --- a/run_checks.php +++ b/run_checks.php @@ -47,7 +47,7 @@ function env(string $key, ?string $default = null): ?string new Client() ); -$start = (new DateTime())->sub(new DateInterval('P3M')); +$start = (new DateTime())->sub(new DateInterval('P89D')); $end = new DateTime(); // FingerprintApi->searchEvents usage example