Merge pull request #1586 from josehernandezfintecheandomx/fix/run_report_fix_dateformat

Set a fix date format to run reports
This commit is contained in:
Adam Saghy
2022-11-30 19:27:07 +01:00
committed by GitHub
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;
@@ -24,6 +24,28 @@
}
}
.alert {
background-color: #E8F4FD;
padding: 6px 16px;
font-size: 0.875rem;
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
font-weight: 400;
line-height: 1.43;
border-radius: 4px;
letter-spacing: 0.01071em;
margin: 10px;
.message {
padding: 8px 0;
font-size: 18px;
}
.alert-check {
color:#359FF4;
margin-right: 2px;
font-size: 1.4rem;
}
}
.error-log {
color: #ffa726;
}