We are passing DateTimes in ISO 8601 format. The Request DateTime field in C# has Kind=Local. Is there a way in configuration to change this behavior so that DateTime objects are in UTC?
You can find JSON Configuration options in JSON Format docs, e.g. to skip conversion to LocalTime use:
JsConfig.Init(new Config {
SkipDateTimeConversion = true,
});
To convert dates to UTC you can use:
JsConfig.Init(new Config {
AlwaysUseUtc = true,
});
1 Like