Skip to content

Commit 7e74b5d

Browse files
ErickXaviermmalerba
authored andcommitted
Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS (#12679)
Fixes MAT_MOMENT_DATE_ADAPTER_OPTIONS reference on documentation
1 parent b40967f commit 7e74b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/datepicker/datepicker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export class MyComponent {
246246

247247
<!-- example(datepicker-moment) -->
248248

249-
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`.
249+
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`.
250250

251251
```ts
252252
@NgModule({

0 commit comments

Comments
 (0)