Fix JTokenReader not using DateTimeZoneHandling
This commit is contained in:
@@ -990,11 +990,6 @@ namespace Newtonsoft.Json.Serialization
|
||||
}
|
||||
}
|
||||
|
||||
if (value is DateTime dt)
|
||||
{
|
||||
return DateTimeUtils.EnsureDateTime(dt, reader.DateTimeZoneHandling);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user