fix: clean up extension ci failures

This commit is contained in:
Peter Steinberger
2026-05-02 05:16:21 +01:00
parent 9f4921c1cd
commit 7934a2390c
3 changed files with 6 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ function isoDateExclusiveEnd(value: string): string {
}
function freshnessStartTime(freshness: GeminiFreshness, now: Date): string {
const start = new Date(now.getTime());
const start = new Date(now);
start.setUTCDate(start.getUTCDate() - GEMINI_FRESHNESS_DAYS[freshness]);
return start.toISOString();
}