Skip to content

Commit

Permalink
docs(material/datepicker): luxon link (#24272)
Browse files Browse the repository at this point in the history
(cherry picked from commit f7dfdc4)
  • Loading branch information
lekhmanrus authored and mmalerba committed Jan 26, 2022
1 parent 337634f commit b71dea3
Showing 1 changed file with 64 additions and 64 deletions.
128 changes: 64 additions & 64 deletions src/material/datepicker/datepicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,91 +306,91 @@ The easiest way to ensure this is to import one of the provided date modules:

<table>
<tbody>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>Date</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td>en-US</td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td>None</td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material/core</code></td>
</tr>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>Date</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td>en-US</td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td>None</td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material/core</code></td>
</tr>
</tbody>
</table>

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

<table>
<tbody>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>Date</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td><a href="https://github.com/date-fns/date-fns/tree/master/src/locale/">See project for details</a></td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td><a href="https://date-fns.org/">date-fns</a></td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material-date-fns-adapter</code></td>
</tr>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>Date</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td><a href="https://github.com/date-fns/date-fns/tree/master/src/locale/">See project for details</a></td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td><a href="https://date-fns.org/">date-fns</a></td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material-date-fns-adapter</code></td>
</tr>
</tbody>
</table>

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

<table>
<tbody>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>DateTime</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td><a href="https://moment.github.io/luxon/">See project for details</a></td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td><a href="https://momentjs.com/">Luxon</a></td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material-luxon-adapter</code></td>
</tr>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>DateTime</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td><a href="https://moment.github.io/luxon/">See project for details</a></td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td><a href="https://moment.github.io/luxon/">Luxon</a></td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material-luxon-adapter</code></td>
</tr>
</tbody>
</table>

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

<table>
<tbody>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>Moment</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td><a href="https://github.com/moment/moment/tree/develop/src/locale">See project for details</a></td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td><a href="https://momentjs.com/">Moment.js</a></td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material-moment-adapter</code></td>
</tr>
<tr>
<th align="left" scope="row">Date type</th>
<td><code>Moment</code></td>
</tr>
<tr>
<th align="left" scope="row">Supported locales</th>
<td><a href="https://github.com/moment/moment/tree/develop/src/locale">See project for details</a></td>
</tr>
<tr>
<th align="left" scope="row">Dependencies</th>
<td><a href="https://momentjs.com/">Moment.js</a></td>
</tr>
<tr>
<th align="left" scope="row">Import from</th>
<td><code>@angular/material-moment-adapter</code></td>
</tr>
</tbody>
</table>

Expand Down

0 comments on commit b71dea3

Please sign in to comment.