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

Debugging Culture Error

parent ee174d89
......@@ -46,9 +46,6 @@ 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
......
......@@ -28,6 +28,8 @@ namespace Stratis.Guru
public Startup(IConfiguration configuration)
{
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US");
Configuration = configuration;
}
......
#!/bin/bash
git pull
systemctl stop stratis-guru.service
dotnet publish -c Release
systemctl restart stratis-guru.service
\ No newline at end of file
systemctl start stratis-guru.service
\ No newline at end of file
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