diff --git a/src/utils/parseDate.ts b/src/utils/parseDate.ts index 544ce73..cf35c0b 100644 --- a/src/utils/parseDate.ts +++ b/src/utils/parseDate.ts @@ -1,4 +1,4 @@ -const parseDate = (value: Date) => { +const parseDate = (value: Date | string) => { const date = new Date(value); const year = date.getFullYear(); const month = date.getMonth() + 1;