From e4b872175e59998d7d6364106eda827afae6d8d3 Mon Sep 17 00:00:00 2001 From: LTbinglingfeng Date: Mon, 15 Jun 2026 01:43:42 +0800 Subject: [PATCH] feat(quotaConfigs): update weekly window condition to include monthly windows --- src/components/quota/quotaConfigs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/quota/quotaConfigs.ts b/src/components/quota/quotaConfigs.ts index d97f949..d5f81dd 100644 --- a/src/components/quota/quotaConfigs.ts +++ b/src/components/quota/quotaConfigs.ts @@ -341,7 +341,7 @@ const buildCodexQuotaWindows = ( const seconds = getWindowSeconds(window); if (seconds === FIVE_HOUR_SECONDS && !fiveHourWindow) { fiveHourWindow = window; - } else if (seconds === WEEK_SECONDS && !weeklyWindow) { + } else if ((seconds === WEEK_SECONDS || isMonthlyWindow(window)) && !weeklyWindow) { weeklyWindow = window; } }