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 66 * found in the LICENSE file at https://angular.io/license
77 */
88
9+ import { PlatformModule } from '@angular/cdk/platform' ;
910import { NgModule } from '@angular/core' ;
1011import { DateAdapter , MAT_DATE_LOCALE_PROVIDER } from './date-adapter' ;
11- import { NativeDateAdapter } from './native-date-adapter' ;
1212import { MAT_DATE_FORMATS } from './date-formats' ;
13+ import { NativeDateAdapter } from './native-date-adapter' ;
1314import { MAT_NATIVE_DATE_FORMATS } from './native-date-formats' ;
1415
1516export * from './date-adapter' ;
@@ -19,6 +20,7 @@ export * from './native-date-formats';
1920
2021
2122@NgModule ( {
23+ imports : [ PlatformModule ] ,
2224 providers : [
2325 { provide : DateAdapter , useClass : NativeDateAdapter } ,
2426 MAT_DATE_LOCALE_PROVIDER
You can’t perform that action at this time.
0 commit comments