Skip to content

Commit b7b996e

Browse files
committed
ui-slch: Set heatmap to 6 months
Signed-off-by: Kwong Tung Nan <tungnan5636@gmail.com>
1 parent cc6056c commit b7b996e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/@ui/spotting-line-calendar-heatmap/spotting-line-calendar-heatmap.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class SpottingLineCalendarHeatmapComponent implements OnInit, OnChanges {
9595

9696
setAndRenderChart() {
9797
const startDate = new Date();
98-
startDate.setMonth(startDate.getMonth() - 12);
98+
startDate.setMonth(startDate.getMonth() - 6);
9999
startDate.setDate(1);
100100
const startDateString = startDate.toISOString().split("T")[0];
101101

0 commit comments

Comments
 (0)