Skip to content

Commit

Permalink
docs(material/datepicker): recommend installing adapters through ng add
Browse files Browse the repository at this point in the history
Updates the datepicker docs to recommend installing the date adapters through `ng add`.
  • Loading branch information
crisbeto committed Dec 6, 2023
1 parent c85665f commit a474726
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/material/datepicker/datepicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ that point.

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

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

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

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

<table>
<tbody>
Expand All @@ -359,7 +359,7 @@ The easiest way to ensure this is to import one of the provided date modules:
</tbody>
</table>

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

<table>
<tbody>
Expand All @@ -382,7 +382,7 @@ The easiest way to ensure this is to import one of the provided date modules:
</tbody>
</table>

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

<table>
<tbody>
Expand Down

0 comments on commit a474726

Please sign in to comment.