Skip to content

Commit 75a8f8c

Browse files
committed
resolved #55
1 parent 923e085 commit 75a8f8c

File tree

2 files changed

+2
-2
lines changed
  • src
    • AbpCompanyName.AbpProjectName.WebMpa/Views/Shared
    • AbpCompanyName.AbpProjectName.WebSpaAngular/App/Main/views/layout

2 files changed

+2
-2
lines changed

src/AbpCompanyName.AbpProjectName.WebMpa/Views/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
<script>
5151
abp.localization.defaultSourceName = '@LocalizationSourceName';
52-
moment.locale('@Thread.CurrentThread.CurrentUICulture.Name'); //Localizing momentjs
52+
moment.locale('@Thread.CurrentThread.CurrentUICulture.Name.ToLower()'); //Localizing momentjs
5353
</script>
5454

5555
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->

src/AbpCompanyName.AbpProjectName.WebSpaAngular/App/Main/views/layout/layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<script>
3636
abp.localization.defaultSourceName = '@LocalizationSourceName';
37-
moment.locale('@Thread.CurrentThread.CurrentUICulture.Name'); //Localizing momentjs
37+
moment.locale('@Thread.CurrentThread.CurrentUICulture.Name.ToLower()'); //Localizing momentjs
3838
</script>
3939

4040
<!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->

0 commit comments

Comments
 (0)