Skip to content

Commit 4c3ef50

Browse files
fix(material/datepicker): improved missing dateAdapters error message to include matLuxon and matDateFns (#26889)
1 parent 0a2448d commit 4c3ef50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/datepicker/datepicker-errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
export function createMissingDateImplError(provider: string) {
1111
return Error(
1212
`MatDatepicker: No provider found for ${provider}. You must import one of the following ` +
13-
`modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a ` +
13+
`modules at your application root: MatNativeDateModule, MatDateFnsModule, MatLuxonDateModule, MatMomentDateModule, or provide a ` +
1414
`custom implementation.`,
1515
);
1616
}

0 commit comments

Comments
 (0)