Skip to content

Commit b2701e1

Browse files
committed
fix tests
1 parent 4ac5c85 commit b2701e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/core/datetime/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9+
import {PlatformModule} from '@angular/cdk/platform';
910
import {NgModule} from '@angular/core';
1011
import {DateAdapter, MAT_DATE_LOCALE_PROVIDER} from './date-adapter';
11-
import {NativeDateAdapter} from './native-date-adapter';
1212
import {MAT_DATE_FORMATS} from './date-formats';
13+
import {NativeDateAdapter} from './native-date-adapter';
1314
import {MAT_NATIVE_DATE_FORMATS} from './native-date-formats';
1415

1516
export * 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

0 commit comments

Comments
 (0)