Commit 288f48cc authored by Clint.Network's avatar Clint.Network

Debugging Culture Error

parent 1462b025
......@@ -36,7 +36,7 @@ namespace Stratis.Guru.Controllers
{
var rqf = Request.HttpContext.Features.Get<IRequestCultureFeature>();
Console.WriteLine(JsonConvert.SerializeObject(rqf.RequestCulture, Formatting.None));
Console.WriteLine(JsonConvert.SerializeObject(rqf.RequestCulture.Culture.NumberFormat, Formatting.None));
double displayPrice = 0;
double last24Change = 0;
......
......@@ -108,7 +108,9 @@ namespace Stratis.Guru
{
DefaultRequestCulture = new RequestCulture("en-US"),
SupportedCultures = supportedCultures,
SupportedUICultures = supportedCultures
SupportedUICultures = supportedCultures,
FallBackToParentCultures = true,
FallBackToParentUICultures = true
});
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