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 a1c2bfc commit c863da6Copy full SHA for c863da6
src/material-date-fns-adapter/adapter/date-fns-adapter.ts
@@ -35,6 +35,8 @@ function range<T>(length: number, valueFunction: (index: number) => T): T[] {
35
return valuesArray;
36
}
37
38
+// date-fns doesn't have a way to read/print month names or days of the week directly,
39
+// so we get them by formatting a date with a format that produces the desired month/day.
40
const MONTH_FORMATS = {
41
long: 'LLLL',
42
short: 'LLL',
0 commit comments