Skip to content

docs(material/datepicker): luxon link #24272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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