Skip to content

Commit

Permalink
date-fns compatibility update for weekday formatting (Hacker0x01#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottydev authored and martijnrusschen committed Jan 23, 2019
1 parent c2530dd commit a8c3558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/date_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export function getLocaleObject(localeName) {
}

export function getFormattedWeekdayInLocale(date, formatFunc, locale) {
return formatFunc(formatDate(date, "dddd", locale));
return formatFunc(formatDate(date, "EEEE", locale));
}

export function getWeekdayMinInLocale(date, locale) {
Expand Down

0 comments on commit a8c3558

Please sign in to comment.