Skip to content

Commit 621eafe

Browse files
athomajmartijnrusschen
authored andcommitted
removing dateform parameter from getMonthShortInLocale that was never sent and was taking the value of the locale variable, creating a bug when setting a locale with the month/year picker (#1702)
1 parent 373ae02 commit 621eafe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/date_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export function getMonthInLocale(month, locale) {
295295
return formatDate(setMonth(newDate(), month), "LLLL", locale);
296296
}
297297

298-
export function getMonthShortInLocale(month, dateFormat, locale) {
298+
export function getMonthShortInLocale(month, locale) {
299299
return formatDate(setMonth(newDate(), month), "LLL", locale);
300300
}
301301

0 commit comments

Comments
 (0)