fix: include the oldest dashboard window boundary

(cherry picked from commit e32d1a4e4d)
This commit is contained in:
Eneko Ruiz authored and haelyra committed 2026-10-20 17:40:58 -04:00
1 parent 65f7dfb735
commit f1c6692f99
2 files changed
+20 -1

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ function bucketByDay(records, nowMs, days) {
}
for (const bucket of buckets) {
if (recordMs > bucket.start && recordMs <= bucket.end) {
if (recordMs >= bucket.start && recordMs <= bucket.end) {
bucket.records.push(record);
break;
}