Skip to content

Commit

Permalink
fix(material/datepicker): improved missing dateAdapters error message…
Browse files Browse the repository at this point in the history
… to include matLuxon and matDateFns (#26889)

(cherry picked from commit 4c3ef50)
  • Loading branch information
JelleBruisten authored and mmalerba committed Sep 26, 2023
1 parent 3e9228a commit 451d0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/datepicker/datepicker-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
export function createMissingDateImplError(provider: string) {
return Error(
`MatDatepicker: No provider found for ${provider}. You must import one of the following ` +
`modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a ` +
`modules at your application root: MatNativeDateModule, MatDateFnsModule, MatLuxonDateModule, MatMomentDateModule, or provide a ` +
`custom implementation.`,
);
}

0 comments on commit 451d0e5

Please sign in to comment.