Skip to content

Commit ad33d9f

Browse files
committed
docs(material/datepicker): import used locales in example
1 parent 0a4dbe1 commit ad33d9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components-examples/material/datepicker/datepicker-locale/datepicker-locale-example.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import {
55
MAT_MOMENT_DATE_ADAPTER_OPTIONS,
66
} from '@angular/material-moment-adapter';
77
import {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';
8+
import 'moment/locale/ja';
9+
import 'moment/locale/fr';
810

911
/** @title Datepicker with different locale */
1012
@Component({

0 commit comments

Comments
 (0)