Skip to content

Commit

Permalink
-Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Mar 22, 2015
1 parent f09cfcd commit 965296d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Newtonsoft.Json.Tests/DemoTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void SerializationBasics2()
var s = new Session
{
Name = "Serialize All The Things",
Date = new DateTime(2014, 6, 4)
Date = new DateTime(2014, 6, 4, 0, 0, 0, DateTimeKind.Utc)
};

string j = JsonConvert.SerializeObject(s, new JsonSerializerSettings
Expand All @@ -235,7 +235,7 @@ public void SerializationBasics2()
StringAssert.AreEqual(@"{
""Name"": ""Serialize All The Things"",
""Date"": new Date(
1401796800000
1401840000000
)
}", j);
}
Expand Down

0 comments on commit 965296d

Please sign in to comment.