Skip to content

Commit ecd20ad

Browse files
committed
register locale data
1 parent 4dcd4c0 commit ecd20ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/app.module.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ import { LoginComponent } from './account/login/login.component';
2020
import { AuthCallbackComponent } from './account/auth-callback/auth-callback.component';
2121
import { MyReservationComponent } from './account/my-reservation/my-reservation.component';
2222

23+
import localeEn from '@angular/common/locales/en';
24+
import { registerLocaleData } from '@angular/common';
25+
registerLocaleData(localeEn, 'en');
26+
2327
@NgModule({ declarations: [
2428
AppComponent,
2529
NewReservationComponent,

0 commit comments

Comments
 (0)