From e21582b7c4215f6d35c9fa020ce1d581912b9246 Mon Sep 17 00:00:00 2001 From: dev Date: Mon, 1 Jun 2026 17:59:06 -0500 Subject: [PATCH] fix(bundle): strict 30-day boundary in pruneHistory to match src/pure.js --- torn-attribute-tracker.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torn-attribute-tracker.user.js b/torn-attribute-tracker.user.js index 7c85848..fcf3616 100644 --- a/torn-attribute-tracker.user.js +++ b/torn-attribute-tracker.user.js @@ -37,7 +37,7 @@ function pruneHistory(entries, now) { const cutoff = (now || Date.now()) - THIRTY_DAYS_MS; - return entries.filter((e) => e.ts >= cutoff); + return entries.filter((e) => e.ts > cutoff); } function computeEstimate(current, target, perTrain, perDay) {