Browse Source

Merge pull request #5146 from abpframework/maliming/patch-2

Add nullable datetime types.
pull/5149/head
Halil İbrahim Kalkan 6 years ago
committed by GitHub
parent
commit
1b0c428099
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/ObjectExtending/ObjectExtendingPropertyInfoExtensions.cs

4
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/ObjectExtending/ObjectExtendingPropertyInfoExtensions.cs

@ -9,7 +9,9 @@ namespace Volo.Abp.ObjectExtending
private static readonly Type[] DateTimeTypes =
{
typeof(DateTime),
typeof(DateTimeOffset)
typeof(DateTime?),
typeof(DateTimeOffset),
typeof(DateTimeOffset?)
};
public static bool IsDate(this IBasicObjectExtensionPropertyInfo property)

Loading…
Cancel
Save