Skip to content

Commit ec82f93

Browse files
authored
Merge pull request #11 from fullstack-devops/bugfix/moment-locale
fix moment locale
2 parents ebcfefa + 8e10a40 commit ec82f93

File tree

2 files changed

+141
-123
lines changed

2 files changed

+141
-123
lines changed

projects/lib-workspace/src/app/app.module.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CalenderShowcaseComponent } from './content/calender-showcase/calender-showcase.component';
2-
import { NgModule } from '@angular/core';
2+
import { LOCALE_ID, NgModule } from '@angular/core';
33
import { BrowserModule } from '@angular/platform-browser';
44

55
import { APP_BASE_HREF } from '@angular/common';
@@ -13,7 +13,7 @@ import {
1313
FsCalendarModule,
1414
FsUiFrameModule,
1515
FsUiFrameContentModule,
16-
FsUiFrameToolbarModule
16+
FsUiFrameToolbarModule,
1717
} from 'projects/ng-mat-components/src/public-api';
1818
import { HomeComponent } from './content/home/home.component';
1919
import { SubComponent } from './content/home/sub/sub.component';
@@ -43,9 +43,10 @@ import { TestComponent } from './content/test/test.component';
4343
providers: [
4444
{
4545
provide: APP_BASE_HREF,
46-
useValue: ".",
46+
useValue: '.',
4747
},
48+
{ provide: LOCALE_ID, useValue: 'de-DE' },
4849
],
49-
bootstrap: [AppComponent]
50+
bootstrap: [AppComponent],
5051
})
51-
export class AppModule { }
52+
export class AppModule {}

0 commit comments

Comments
 (0)