Fix on date
This commit is contained in:
@@ -104,7 +104,7 @@ export class ListOfTunnelFlightsComponent implements OnInit {
|
||||
this.isLoading = true;
|
||||
|
||||
// Get data to show in a table
|
||||
let endDate = this.dateService.addMonths(new Date(), 2);
|
||||
let endDate = new Date();
|
||||
endDate.setHours(0, 0, 0, 0);
|
||||
let beginDate = this.computeBeginDateByPeriod(this.selectedPeriod, endDate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user