Skip to content

Commit 2732109

Browse files
committed
Package updates; fix culture in range parsing (see maxkoshevoi/DateOnlyTimeOnly.AspNet#16)
1 parent 56cfe08 commit 2732109

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: benchmarks/Benchmarks.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="BenchmarkDotNet" Version="0.13.4" />
13+
<PackageReference Include="BenchmarkDotNet" Version="0.13.*" />
1414
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisVersion)" PrivateAssets="all">
1515
<!-- This reference solely exists to prevent build warnings for conflicting versions of Microsoft.CodeAnalysis. -->
1616
</PackageReference>

Diff for: test/JsonApiDotNetCoreTests/IntegrationTests/InputValidation/ModelState/SystemFile.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ public sealed class SystemFile : Identifiable<int>
2222
public long SizeInBytes { get; set; }
2323

2424
[Attr]
25-
[Range(typeof(DateOnly), "2000-01-01", "2050-01-01")]
25+
[Range(typeof(DateOnly), "2000-01-01", "2050-01-01", ParseLimitsInInvariantCulture = true)]
2626
public DateOnly CreatedOn { get; set; }
2727

2828
[Attr]
29-
[Range(typeof(TimeOnly), "09:00:00", "17:30:00")]
29+
[Range(typeof(TimeOnly), "09:00:00", "17:30:00", ParseLimitsInInvariantCulture = true)]
3030
public TimeOnly CreatedAt { get; set; }
3131
}

Diff for: test/JsonApiDotNetCoreTests/JsonApiDotNetCoreTests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>$(TargetFrameworkName)</TargetFramework>
44
</PropertyGroup>
@@ -11,7 +11,7 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="coverlet.collector" Version="$(CoverletVersion)" PrivateAssets="All" />
14-
<PackageReference Include="DateOnlyTimeOnly.AspNet" Version="2.0.*" />
14+
<PackageReference Include="DateOnlyTimeOnly.AspNet" Version="2.1.*" />
1515
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="$(AspNetVersion)" />
1616
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="$(EFCoreVersion)" />
1717
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="$(EFCoreVersion)" />

Diff for: test/TestBuildingBlocks/TestBuildingBlocks.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ItemGroup>
1111
<PackageReference Include="Bogus" Version="34.0.2" />
1212
<PackageReference Include="coverlet.collector" Version="$(CoverletVersion)" PrivateAssets="All" />
13-
<PackageReference Include="FluentAssertions" Version="6.9.0" />
13+
<PackageReference Include="FluentAssertions" Version="6.10.0" />
1414
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="$(AspNetVersion)" />
1515
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="$(EFCoreVersion)" />
1616
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(TestSdkVersion)" />

0 commit comments

Comments
 (0)