fix(bundle): strict 30-day boundary in pruneHistory to match src/pure.js

This commit is contained in:
dev
2026-06-01 17:59:06 -05:00
parent adc8a5dec9
commit e21582b7c4
+1 -1
View File
@@ -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) {