upgrade ng 12 to 13: fix types errors

merge-requests/78/head
bmartins 2 months ago
parent 5f80caa748
commit 9e82a9fbea

@ -68,7 +68,7 @@ export class DateUtilitiesService {
parseInputDateToDateObject(inputDate: Date): Date {
const boom = inputDate.toISOString().substring(0, 10).split('-');
const converted = new Date(boom['0'], boom['1'] - 1, boom['2']);
const converted = new Date(+boom['0'], +boom['1'] - 1, +boom['2']);
console.log('converted', converted);
return converted;
}

Loading…
Cancel
Save