Commit 78b86f2
committed
fix(metrics): correct dashboard week boundary to Saturday
The dashboard window ended on Sunday instead of Saturday, so mid-week it
requested a different window than the email and missed the warmed cache key.
Align the exclusive end to the most recent Saturday so the page matches the
email window and hits the warm cache.
Part of #1961
Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>1 parent 5ef7b2b commit 78b86f2
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
| 554 | + | |
| 555 | + | |
559 | 556 | | |
560 | 557 | | |
561 | 558 | | |
| |||
0 commit comments