mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-26 18:35:05 +00:00
fix: include the oldest dashboard window boundary
(cherry picked from commit e32d1a4e4d)
This commit is contained in:
1 parent
65f7dfb735
commit
f1c6692f99
2 files changed
+20
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user