From 3eced333e99636bc13daf67adbfa486140f887cd Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Fri, 7 Dec 2012 23:34:12 +0000 Subject: [PATCH] event log: some more occasions to force english date --- SparkleShare/SparkleEventLogController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SparkleShare/SparkleEventLogController.cs b/SparkleShare/SparkleEventLogController.cs index eef7b311..8b7dcfb8 100755 --- a/SparkleShare/SparkleEventLogController.cs +++ b/SparkleShare/SparkleEventLogController.cs @@ -380,7 +380,7 @@ namespace SparkleShare { "" + "Restore…" + "" + ""; @@ -503,7 +503,7 @@ namespace SparkleShare { day_entry = day_entry_html.Replace ("", "" + "Today" + + activity_day.Date.ToString ("dddd, MMMM d", CultureInfo.InvariantCulture) + "'>" + "Today" + ""); } else if (yesterday.Day == activity_day.Date.Day && @@ -511,18 +511,18 @@ namespace SparkleShare { yesterday.Year == activity_day.Date.Year) { day_entry = day_entry_html.Replace ("", - "" + + "" + "Yesterday" + ""); } else { if (activity_day.Date.Year != DateTime.Now.Year) { day_entry = day_entry_html.Replace ("", - activity_day.Date.ToString ("dddd, MMMM d, yyyy")); + activity_day.Date.ToString ("dddd, MMMM d, yyyy", CultureInfo.InvariantCulture)); } else { day_entry = day_entry_html.Replace ("", - activity_day.Date.ToString ("dddd, MMMM d")); + activity_day.Date.ToString ("dddd, MMMM d", CultureInfo.InvariantCulture)); } }