Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS (#12679)

Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS reference on documentation
This commit is contained in:
Erick Xavier
2018-08-14 21:55:15 -03:00
committed by mmalerba
parent b40967fd15
commit 7e74b5d80b
+1 -1
View File
@@ -246,7 +246,7 @@ export class MyComponent {
<!-- example(datepicker-moment) -->
By default the `MomentDateAdapter` will creates dates in your time zone specific locale. You can change the default behaviour to parse dates as UTC by providing the `MAT_MOMENT_DATA_ADAPTER_OPTIONS` and setting it to `useUtc: true`.
By default the `MomentDateAdapter` will creates dates in your time zone specific locale. You can change the default behaviour to parse dates as UTC by providing the `MAT_MOMENT_DATE_ADAPTER_OPTIONS` and setting it to `useUtc: true`.
```ts
@NgModule({