解决utc时间问题
This commit is contained in:
1 parent
2f8318b24e
commit
858b76d4d2
2 files changed
+5
-3
No files matched your search
@@ -163,7 +163,9 @@ namespace Assets.Scripts.Apis
|
||||
{
|
||||
var result = await response.Content.ReadAsStringAsync();
|
||||
Console.WriteLine(result);
|
||||
return JsonConvert.DeserializeObject<T>(result);
|
||||
return JsonConvert.DeserializeObject<T>(result, new JsonSerializerSettings {
|
||||
DateTimeZoneHandling = DateTimeZoneHandling.Local
|
||||
});
|
||||
}
|
||||
|
||||
//protected T Post<T>(string url, object data)
|
||||
|
||||
Reference in new issue
Block a user