I have noticed, that new JSON serialization does not maintain DateTimeKind for DateTime type.
Although I see Deserialize<Nullable'1>("2014-09-07T22:00:00.0000000Z")
in Hangfire console (notice Z
letter at the end of datetime), the resulting datetime variable is NOT DateTimeKind.Utc
as it was when Hangfire job was queued.
It is maybe a Newtonsoft.Json
's thing. Any suggestion, how to fix it ?