c# Newtonsoft DateTimeZoneHandling.RoundtripKind not working
<p>I have this code in my WebApiConfig file to serialize data:</p>

<pre><code>    public static void Register(HttpConfiguration config)
    {
        config.EnableCors();

        config.MapHttpAttributeRoutes();

        config.Filters.Add(new DbValidationErrorAttribute());
        config.Filters.Add(new ValidationFailedErrorAttribute());
        config.Filters.Add(new GenericExceptionFilterAttribute());

        var jsonFormatter = config.Formatters.JsonFormatter;
        var jSettings = new Newtonsoft.Json.JsonSerializerSettings()
        {
            DateFormatHandling = DateFormatHandling.IsoDateFormat, 
            DateParseHandling = DateParseHandling.DateTimeOffset, 
            DateTimeZoneHandling = DateTimeZoneHandling.RoundtripKind
        };

        jsonFormatter.SerializerSettings = jSettings;

        config.Services.Replace(typeof(IContentNegotiator), new JsonContentNegotiator(jsonFormatter));
    }
</code></pre>

<p>It is a WebApi. The controller gets data from the frontend. My problem is with dates. They have a different timezone than the server timezone and they are converted to the server timezone. I tryed a lot of different options in JsonSerializerSettings. None of them worked. I also downloaded last newtonsoft version.</p>

<p>Any help to avoid timezone conversion?</p>