Merge pull request #1586 from josehernandezfintecheandomx/fix/run_report_fix_dateformat
Set a fix date format to run reports
This commit is contained in:
@@ -195,7 +195,7 @@ export class RunReportComponent implements OnInit {
|
|||||||
formattedResponse[newKey] = value['id'];
|
formattedResponse[newKey] = value['id'];
|
||||||
break;
|
break;
|
||||||
case 'date':
|
case 'date':
|
||||||
const dateFormat = this.settingsService.dateFormat;
|
const dateFormat = 'yyyy-MM-dd';
|
||||||
formattedResponse[newKey] = this.dateUtils.formatDate(value, dateFormat);
|
formattedResponse[newKey] = this.dateUtils.formatDate(value, dateFormat);
|
||||||
this.reportUsesDates = true;
|
this.reportUsesDates = true;
|
||||||
break;
|
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 {
|
.error-log {
|
||||||
color: #ffa726;
|
color: #ffa726;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user