Skip to content

Commit

Permalink
Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS (#12679)
Browse files Browse the repository at this point in the history
Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS reference on documentation
  • Loading branch information
ErickXavier authored and mmalerba committed Aug 15, 2018
1 parent b40967f commit 7e74b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/datepicker/datepicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 7e74b5d

Please sign in to comment.