Commit ee174d89 authored by Clint.Network's avatar Clint.Network

Debugging Culture Error

parent 408921c2
...@@ -46,6 +46,9 @@ namespace Stratis.Guru.Controllers ...@@ -46,6 +46,9 @@ namespace Stratis.Guru.Controllers
if (rqf.RequestCulture.UICulture.ThreeLetterISOLanguageName.Equals("eng")) if (rqf.RequestCulture.UICulture.ThreeLetterISOLanguageName.Equals("eng"))
{ {
var x = new CultureInfo("en-US");
x.NumberFormat.CurrencySymbol = "$";
Thread.CurrentThread.CurrentCulture = x;
displayPrice = coinmarketcap.data.quotes.USD.price; displayPrice = coinmarketcap.data.quotes.USD.price;
} }
else else
......
...@@ -93,10 +93,6 @@ namespace Stratis.Guru ...@@ -93,10 +93,6 @@ 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[]
{ {
......
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