Skip to content

Commit ae0b9e1

Browse files
committed
docs(material/datepicker): recommend installing adapters through ng add
Updates the datepicker docs to recommend installing the date adapters through `ng add`.
1 parent 62ca3ed commit ae0b9e1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/material/datepicker/datepicker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ that point.
161161

162162
<!-- example(datepicker-filter) -->
163163

164-
In this example the user cannot select any date that falls on a Saturday or Sunday, but all of the
164+
In this example the user cannot select any date that falls on a Saturday or Sunday, but all of the
165165
dates which fall on other days of the week are selectable.
166166

167167
Each validation property has a different error that can be checked:
@@ -336,7 +336,7 @@ The easiest way to ensure this is to import one of the provided date modules:
336336
</tbody>
337337
</table>
338338

339-
`MatDateFnsModule` (installed via `@angular/material-date-fns-adapter`)
339+
`MatDateFnsModule` (installed via `ng add @angular/material-date-fns-adapter`)
340340

341341
<table>
342342
<tbody>
@@ -359,7 +359,7 @@ The easiest way to ensure this is to import one of the provided date modules:
359359
</tbody>
360360
</table>
361361

362-
`MatLuxonDateModule` (installed via `@angular/material-luxon-adapter`)
362+
`MatLuxonDateModule` (installed via `ng add @angular/material-luxon-adapter`)
363363

364364
<table>
365365
<tbody>
@@ -382,7 +382,7 @@ The easiest way to ensure this is to import one of the provided date modules:
382382
</tbody>
383383
</table>
384384

385-
`MatMomentDateModule` (installed via `@angular/material-moment-adapter`)
385+
`MatMomentDateModule` (installed via `ng add @angular/material-moment-adapter`)
386386

387387
<table>
388388
<tbody>

0 commit comments

Comments
 (0)