mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS (#12679)
Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS reference on documentation
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user