File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
9
+ import { PlatformModule } from '@angular/cdk/platform' ;
9
10
import { NgModule } from '@angular/core' ;
10
11
import { DateAdapter , MAT_DATE_LOCALE_PROVIDER } from './date-adapter' ;
11
- import { NativeDateAdapter } from './native-date-adapter' ;
12
12
import { MAT_DATE_FORMATS } from './date-formats' ;
13
+ import { NativeDateAdapter } from './native-date-adapter' ;
13
14
import { MAT_NATIVE_DATE_FORMATS } from './native-date-formats' ;
14
15
15
16
export * from './date-adapter' ;
@@ -19,6 +20,7 @@ export * from './native-date-formats';
19
20
20
21
21
22
@NgModule ( {
23
+ imports : [ PlatformModule ] ,
22
24
providers : [
23
25
{ provide : DateAdapter , useClass : NativeDateAdapter } ,
24
26
MAT_DATE_LOCALE_PROVIDER
You can’t perform that action at this time.
0 commit comments