From f7e1c0d0728855ad8fce3b1d623e4e01532f0463 Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 30 Jan 2023 09:36:19 +0800 Subject: [PATCH] Update AbpDateTimeConverter.cs https://github.com/abpframework/abp/pull/15534#event-8383272521 --- .../Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs b/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs index 3bd97f7aee..1dc576c259 100644 --- a/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs +++ b/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs @@ -11,7 +11,7 @@ using Volo.Abp.Timing; namespace Volo.Abp.Json.Newtonsoft; -public class AbpDateTimeConverter : DateTimeConverterBase +public class AbpDateTimeConverter : DateTimeConverterBase, ITransientDependency { private readonly string _dateTimeFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFFK"; private readonly DateTimeStyles _dateTimeStyles = DateTimeStyles.RoundtripKind;