@@ -212,16 +212,15 @@ with a variety of different date implementations. However it also means that dev
212212sure to provide the appropriate pieces for the datepicker to work with their chosen implementation.
213213The easiest way to ensure this is just to import one of the pre-made modules:
214214
215- | Module | Date type| Supported locales | Dependencies | Import from |
216- | ---------------------| ---------| -----------------------------------------------------------------------| ----------------------------------| ----------------------------------|
217- | ` MatNativeDateModule ` | ` Date ` | en-US | None | ` @angular/material ` |
218- | ` MatMomentDateModule ` | ` Moment ` | [ See project] ( https://github.com/moment/moment/tree/develop/src/locale ) | [ Moment.js] ( https://momentjs.com/ ) | ` @angular/material-moment-adapter ` |
215+ | Module | Date type | Supported locales | Dependencies | Import from |
216+ | ---------------------| -----------| -----------------------------------------------------------------------| ----------------------------------------| ----------------------------------|
217+ | ` MatNativeDateModule ` | ` Date ` | en-US | None | ` @angular/material ` |
218+ | ` MatMomentDateModule ` | ` Moment ` | [ See project] ( https://github.com/moment/moment/tree/develop/src/locale ) | [ Moment.js] ( https://momentjs.com/ ) | ` @angular/material-moment-adapter ` |
219+ | ` MatLuxonDateModule ` | ` DateTime ` | [ See project] ( https://moment.github.io/luxon/docs/manual/intl.html ) | [ Luxon] ( https://moment.github.io/luxon/ ) | ` @angular/material-luxon-adapter ` |
219220
220221* Please note: ` MatNativeDateModule ` is based off of the functionality available in JavaScript's
221- native ` Date ` object, and is thus not suitable for many locales. One of the biggest shortcomings of
222- the native ` Date ` object is the inability to set the parse format. We highly recommend using the
223- ` MomentDateAdapter ` or a custom ` DateAdapter ` that works with the formatting/parsing library of your
224- choice.*
222+ native ` Date ` object, and is thus not suitable for many locales. It is highly recommended to use
223+ one of the alternative adapters or to create your own custom adapter*
225224
226225These modules include providers for ` DateAdapter ` and ` MAT_DATE_FORMATS `
227226
0 commit comments