diff --git a/src/frontend/app/administration/history/history-administration.component.ts b/src/frontend/app/administration/history/history-administration.component.ts index 1fd905fbc224776a55878afc72347485cab6a88a..b17a5ac2d5f21572394d4568479d71f6920c4d7b 100755 --- a/src/frontend/app/administration/history/history-administration.component.ts +++ b/src/frontend/app/administration/history/history-administration.component.ts @@ -207,8 +207,8 @@ export class HistoryAdministrationComponent implements OnInit { this.filterUsed['startDate'] = []; } this.filterUsed['startDate'][0] = { - id: this.functions.empty(this.startDateFilter) ? '' : this.functions.formatDateObjectToFrenchDateString(this.startDateFilter), - label: this.functions.empty(this.startDateFilter) ? '' : this.functions.formatDateObjectToFrenchDateString(this.startDateFilter) + id: this.functions.empty(this.startDateFilter) ? '' : this.functions.formatDateObjectToDateString(this.startDateFilter), + label: this.functions.empty(this.startDateFilter) ? '' : this.functions.formatDateObjectToDateString(this.startDateFilter) }; this.generateUrlFilter(); this.refreshDao(); @@ -219,8 +219,8 @@ export class HistoryAdministrationComponent implements OnInit { this.filterUsed['endDate'] = []; } this.filterUsed['endDate'][0] = { - id: this.functions.empty(this.endDateFilter) ? '' : this.functions.formatDateObjectToFrenchDateString(this.endDateFilter, true), - label: this.functions.empty(this.endDateFilter) ? '' : this.functions.formatDateObjectToFrenchDateString(this.endDateFilter) + id: this.functions.empty(this.endDateFilter) ? '' : this.functions.formatDateObjectToDateString(this.endDateFilter, true), + label: this.functions.empty(this.endDateFilter) ? '' : this.functions.formatDateObjectToDateString(this.endDateFilter) }; this.generateUrlFilter(); this.refreshDao();