Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnrusschen committed Mar 29, 2023
1 parent fd6e1f6 commit 375b08c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/date_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,7 @@ export function getLocaleObject(localeSpec) {
}

export function getFormattedWeekdayInLocale(date, formatFunc, locale) {
return typeof formatFunc === "function"
? formatFunc(date, locale)
: formatDate(date, "EEEE", locale);
return formatFunc(formatDate(date, "EEEE", locale));
}

export function getWeekdayMinInLocale(date, locale) {
Expand Down

0 comments on commit 375b08c

Please sign in to comment.