mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-10 18:12:36 -05:00
Set max date on picker
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user