Skip to content

Commit 7b35ae1

Browse files
committed
Change the start date to 2020-01-01 for stats page
Previously, the stats page showed only a year's worth of data. This change overrides the start date to explicitly be 2020-01-01.
1 parent 1812fcd commit 7b35ae1

7 files changed

+2
-0
lines changed
4.4 KB
Loading
4.11 KB
Loading
4.11 KB
Loading
8.52 KB
Loading
8.71 KB
Loading
9.36 KB
Loading

frontend/src/static/js/components/webstatus-stats-page.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import './webstatus-stats-missing-one-impl-chart-panel.js';
2424

2525
@customElement('webstatus-stats-page')
2626
export class StatsPage extends BaseChartsPage {
27+
// Change the default start date to Jan 1, 2020.
28+
override startDate: Date = new Date(2020, 0, 1);
2729
static get styles(): CSSResultGroup {
2830
return [
2931
super.styles!,

0 commit comments

Comments
 (0)