fix bug with creating tasks

This commit is contained in:
marlon-erler
2024-07-26 06:56:34 +02:00
parent 1afea509f3
commit 43363a4ed1
7 changed files with 70 additions and 7 deletions
+6
View File
@@ -112,6 +112,12 @@ export default class CalendarModel {
const paddedMonth: string = month.padStart(2, "0");
return `${paddedYear}-${paddedMonth}`;
};
static getISODateString = (year: string, month: string, date: string): string => {
const monthString: string = CalendarModel.getMonthString(year, month);
const paddedDate: string = date.padStart(2, "0");
return `${monthString}-${paddedDate}`;
};
}
export enum CalendarModelSubPaths {