Set a fix date format to run reports

This commit is contained in:
Jose Alberto Hernandez
2022-11-30 08:50:28 -06:00
parent 712d1abb50
commit b3163b9a45
2 changed files with 23 additions and 1 deletions
@@ -195,7 +195,7 @@ export class RunReportComponent implements OnInit {
formattedResponse[newKey] = value['id'];
break;
case 'date':
const dateFormat = this.settingsService.dateFormat;
const dateFormat = 'yyyy-MM-dd';
formattedResponse[newKey] = this.dateUtils.formatDate(value, dateFormat);
this.reportUsesDates = true;
break;