Revision: 6a177acc41d7
Branch: default
Author: azizatif
Date: Wed Oct 30 17:20:21 2013 UTC
Log: .NET Framework 2.0 target fix for CS0246: The type or namespace
name 'var' could not be found
http://code.google.com/p/jayrock/source/detail?r=6a177acc41d7
Modified:
/tests/Jayrock/Json/Conversion/Converters/TestDateTimeImporter.cs
=======================================
--- /tests/Jayrock/Json/Conversion/Converters/TestDateTimeImporter.cs Fri
Oct 25 11:15:28 2013 UTC
+++ /tests/Jayrock/Json/Conversion/Converters/TestDateTimeImporter.cs Wed
Oct 30 17:20:21 2013 UTC
@@ -135,7 +135,7 @@
[Test(Description =
@"
http://code.google.com/p/jayrock/issues/detail?id=54")]
public void ImportZulu()
{
- var time =
JsonConvert.Import<DateTime>("'2013-10-29T11:04:09.144Z'").ToUniversalTime();
+ DateTime time =
JsonConvert.Import<DateTime>("'2013-10-29T11:04:09.144Z'").ToUniversalTime();
Assert.AreEqual(new DateTime(2013, 10, 29, 11, 04, 09, 144),
time);
}