From e447f959164c186b5bf2876ac6b19d1d8762f980 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 12 Dec 2012 20:05:08 +0000 Subject: [PATCH] Loc fix --- Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs | 1 + Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs b/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs index baa54c0c..d1fc89ef 100644 --- a/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs +++ b/Site5/Pages/v5/Ledgers/Csv-BalanceData.aspx.cs @@ -43,6 +43,7 @@ public partial class Pages_v5_Ledgers_Csv_BalanceData : System.Web.UI.Page _renderCulture = new CultureInfo(cultureString); Thread.CurrentThread.CurrentCulture = _renderCulture; + Thread.CurrentThread.CurrentUICulture = _renderCulture; // Get current year diff --git a/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs b/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs index 47540af5..4c6b2c12 100644 --- a/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs +++ b/Site5/Pages/v5/Ledgers/Csv-ProfitLossData.aspx.cs @@ -44,6 +44,7 @@ public partial class Pages_v5_Ledgers_Csv_ProfitLossData : System.Web.UI.Page _renderCulture = new CultureInfo(cultureString); Thread.CurrentThread.CurrentCulture = _renderCulture; + Thread.CurrentThread.CurrentUICulture = _renderCulture; // Get current year