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 be605b8 commit 2e7e761Copy full SHA for 2e7e761
src/components/DatePicker/utils.ts
@@ -19,7 +19,9 @@ export const headerDateFormatter = new Intl.DateTimeFormat(locale, {
19
year: "numeric",
20
});
21
22
-export const getPredefinedMonthsForDateRangePicker = (numberOfMonths: number): Array<DateRange> => {
+export const getPredefinedMonthsForDateRangePicker = (
23
+ numberOfMonths: number
24
+): Array<DateRange> => {
25
const now = dayjs();
26
27
if (numberOfMonths < 0) {
0 commit comments