Fix JTokenReader not using DateTimeZoneHandling

This commit is contained in:
James Newton-King
2018-10-08 10:06:19 +13:00
parent 9b98a11db2
commit 5633e17fc1
3 changed files with 16 additions and 13 deletions
@@ -990,11 +990,6 @@ namespace Newtonsoft.Json.Serialization
}
}
if (value is DateTime dt)
{
return DateTimeUtils.EnsureDateTime(dt, reader.DateTimeZoneHandling);
}
return value;
}