-Fixed ToString culture inconsistence when serializing dictionary key

-Documentation
This commit is contained in:
JamesNK
2009-12-08 22:27:13 +00:00
parent 52279e610b
commit 2e54bf69ab
12 changed files with 736 additions and 13 deletions
@@ -25,8 +25,10 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using NUnit.Framework;
namespace Newtonsoft.Json.Tests
@@ -34,6 +36,14 @@ namespace Newtonsoft.Json.Tests
[TestFixture]
public abstract class TestFixtureBase
{
[TestFixtureSetUp]
protected void TestSetup()
{
//CultureInfo turkey = CultureInfo.CreateSpecificCulture("tr");
//Thread.CurrentThread.CurrentCulture = turkey;
//Thread.CurrentThread.CurrentUICulture = turkey;
}
//public string GetOffset(DateTime value)
//{
// TimeSpan utcOffset = TimeZone.CurrentTimeZone.GetUtcOffset(value.ToLocalTime());