From 9b90ded79f32474d4e4b337db180310f59669c62 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 21 Jan 2026 09:42:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4=E9=AA=8C?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NewtonsoftJson/JSONTimeZoneConverter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.API/_ServiceExtensions/NewtonsoftJson/JSONTimeZoneConverter.cs b/IRaCIS.Core.API/_ServiceExtensions/NewtonsoftJson/JSONTimeZoneConverter.cs index 87fda8456..37853b02a 100644 --- a/IRaCIS.Core.API/_ServiceExtensions/NewtonsoftJson/JSONTimeZoneConverter.cs +++ b/IRaCIS.Core.API/_ServiceExtensions/NewtonsoftJson/JSONTimeZoneConverter.cs @@ -90,8 +90,8 @@ namespace IRaCIS.Core.API if (DateTime.TryParse((string)reader.Value, out dateTime) == false) { - throw new JsonSerializationException($"Could not convert string to DateTime: {reader.Value} Path {reader.Path}"); - //return null; + //throw new JsonSerializationException($"Could not convert string to DateTime: {reader.Value} Path {reader.Path}"); + return null; } }