Set max date on picker

This commit is contained in:
2019-10-02 19:58:03 -04:00
parent d3804cd5d6
commit 6101cf6a76
2 changed files with 2 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ export class WeatherChartsComponent implements OnInit {
public timeSpanItems: { [value: number]: string } = {};
public timeSpans: typeof TimeSpan = TimeSpan;
public maxDate: moment.Moment = moment().endOf('day');
private selectedTimeSpanValue: TimeSpan = TimeSpan.Last24Hours;
private selectedDateValue: moment.Moment = moment().startOf('day');