Skip to content

Commit

Permalink
fix: Add datetimeoffset to type groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
bugrakosen committed Oct 30, 2024
1 parent afc35e8 commit 826876a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ExpressionBuilder/ExpressionBuilder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</Description>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Version>1.0.9</Version>
<Version>1.0.10</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageId>Milvasoft.ExpressionBuilder</PackageId>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion ExpressionBuilder/Helpers/OperationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class OperationHelper : IOperationHelper
{ TypeGroup.Text, new HashSet<Type> { typeof(string), typeof(char) } },
{ TypeGroup.Number, new HashSet<Type> { typeof(int), typeof(uint), typeof(byte), typeof(sbyte), typeof(short), typeof(ushort), typeof(long), typeof(ulong), typeof(float), typeof(double), typeof(decimal) } },
{ TypeGroup.Boolean, new HashSet<Type> { typeof(bool) } },
{ TypeGroup.Date, new HashSet<Type> { typeof(DateTime) } },
{ TypeGroup.Date, new HashSet<Type> { typeof(DateTime), typeof(DateTimeOffset) } },
{ TypeGroup.Nullable, new HashSet<Type> { typeof(Nullable<>), typeof(string) } }
};

Expand Down

0 comments on commit 826876a

Please sign in to comment.