File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ The easiest way to ensure this is to import one of the provided date modules:
325
325
</tbody >
326
326
</table >
327
327
328
- ` MatMomentDateModule `
328
+ ` MatMomentDateModule ` (installed via ` @angular/material-moment-adapter ` )
329
329
330
330
<table >
331
331
<tbody >
@@ -351,8 +351,9 @@ The easiest way to ensure this is to import one of the provided date modules:
351
351
* Please note: ` MatNativeDateModule ` is based off the functionality available in JavaScript's
352
352
native [ ` Date ` object] ( https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date ) .
353
353
Thus it is not suitable for many locales. One of the biggest shortcomings of the native ` Date `
354
- object is the inability to set the parse format. We highly recommend using the ` MomentDateAdapter `
355
- or a custom ` DateAdapter ` that works with the formatting/parsing library of your choice.*
354
+ object is the inability to set the parse format. We strongly recommend using an adapter based on
355
+ a more robust formatting and parsing library. You can use the ` MomentDateAdapter `
356
+ or a custom ` DateAdapter ` that works with the library of your choice.*
356
357
357
358
These modules include providers for ` DateAdapter ` and ` MAT_DATE_FORMATS ` .
358
359
You can’t perform that action at this time.
0 commit comments