Skip to content

Commit

Permalink
Merge pull request #5146 from abpframework/maliming/patch-2
Browse files Browse the repository at this point in the history
Add nullable datetime types.
  • Loading branch information
hikalkan authored Aug 24, 2020
2 parents b8828ca + e11d4ce commit 1b0c428
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ public static class ObjectExtensionPropertyInfoAspNetCoreMvcExtensions
private static readonly Type[] DateTimeTypes =
{
typeof(DateTime),
typeof(DateTimeOffset)
typeof(DateTime?),
typeof(DateTimeOffset),
typeof(DateTimeOffset?)
};

public static bool IsDate(this IBasicObjectExtensionPropertyInfo property)
Expand Down

0 comments on commit 1b0c428

Please sign in to comment.