We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9119b0 commit 5e98febCopy full SHA for 5e98feb
packages/datepickers/src/elements/Datepicker/utils/datepicker-reducer.ts
@@ -27,7 +27,7 @@ function parseInputValue({
27
customParseDate
28
}: {
29
inputValue: string;
30
- customParseDate?: (inputValue: string) => Date;
+ customParseDate?: (value: string) => Date;
31
}): Date {
32
if (customParseDate) {
33
return customParseDate(inputValue);
@@ -65,7 +65,7 @@ function formatInputValue({
65
66
date?: Date;
67
locale: string;
68
- formatDate?: (date: Date) => string;
+ formatDate?: (d: Date) => string;
69
}) {
70
if (!date) {
71
return '';
0 commit comments