We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe167e commit b130351Copy full SHA for b130351
src/localizers/luxon.js
@@ -63,7 +63,7 @@ export default function (DateTime, { firstDayOfWeek = 7 } = {}) {
63
}
64
65
function formatDateWithCulture(value, culture, format) {
66
- return DateTime.fromJSDate(value).setLocale(culture).format(format)
+ return DateTime.fromJSDate(value).setLocale(culture).toFormat(format)
67
68
69
/*** BEGIN localized date arithmetic methods with Luxon ***/
0 commit comments