diff --git a/src/localizers/luxon.js b/src/localizers/luxon.js index cf64212bd..03488d5ee 100644 --- a/src/localizers/luxon.js +++ b/src/localizers/luxon.js @@ -63,7 +63,7 @@ export default function (DateTime, { firstDayOfWeek = 7 } = {}) { } function formatDateWithCulture(value, culture, format) { - return DateTime.fromJSDate(value).setLocale(culture).format(format) + return DateTime.fromJSDate(value).setLocale(culture).toFormat(format) } /*** BEGIN localized date arithmetic methods with Luxon ***/