From a8c3558fd4a77c2aa28b0d89acd152577ce94e5a Mon Sep 17 00:00:00 2001 From: Scott Leonard Date: Wed, 23 Jan 2019 04:14:41 -0500 Subject: [PATCH] date-fns compatibility update for weekday formatting (#1613) --- src/date_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/date_utils.js b/src/date_utils.js index 9bee876b1..99c5eca12 100644 --- a/src/date_utils.js +++ b/src/date_utils.js @@ -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) {