Commit 408921c2 authored by Clint.Network's avatar Clint.Network

Debugging Culture Error

parent a0f162f1
...@@ -93,6 +93,10 @@ namespace Stratis.Guru ...@@ -93,6 +93,10 @@ namespace Stratis.Guru
EnableDefaultFiles = true, EnableDefaultFiles = true,
DefaultFilesOptions = { DefaultFileNames = {"index.html"}} DefaultFilesOptions = { DefaultFileNames = {"index.html"}}
}); });
var x = new CultureInfo("en-US");
x.NumberFormat.CurrencySymbol = "$";
Thread.CurrentThread.CurrentCulture = x;
var supportedCultures = new[] var supportedCultures = new[]
{ {
...@@ -108,9 +112,7 @@ namespace Stratis.Guru ...@@ -108,9 +112,7 @@ namespace Stratis.Guru
{ {
DefaultRequestCulture = new RequestCulture("en-US"), DefaultRequestCulture = new RequestCulture("en-US"),
SupportedCultures = supportedCultures, SupportedCultures = supportedCultures,
SupportedUICultures = supportedCultures, SupportedUICultures = supportedCultures
FallBackToParentCultures = true,
FallBackToParentUICultures = true
}); });
app.UseSignalR(routes => app.UseSignalR(routes =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment