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

Debugging Culture Error

parent 408921c2
......@@ -46,6 +46,9 @@ namespace Stratis.Guru.Controllers
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;
}
else
......
......@@ -94,10 +94,6 @@ namespace Stratis.Guru
DefaultFilesOptions = { DefaultFileNames = {"index.html"}}
});
var x = new CultureInfo("en-US");
x.NumberFormat.CurrencySymbol = "$";
Thread.CurrentThread.CurrentCulture = x;
var supportedCultures = new[]
{
new CultureInfo("en"),
......
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