You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MinValue/MaxValue on DateTime and other date/time types is now mapped to PostgreSQL -infinity/infinity by default at the ADO.NET layer; the same should happen in EFCore.PG (literal SQL generation).
Check what to do with tests Where_DateOnly_Year and Where_DateOnly_ctor. Extracting a year out of infinity values yields a double precision infinity value, which cannot be cased to an int. Maybe this is OK (just update the tests to filter out infinity values), or maybe we should add a switch in the translation (infinity -> 9999 like DateTime.MaxValue, -infinity -> 0001 like DateTime.MinValue).
Activity
[-]Handle date/time infinity values and DateTime.MinValue[/-][+]Do date/time infinity conversions[/+]Implement date/time infinity conversions for literals
Implement date/time infinity conversions for literals (#2044)
Do infinity conversions for LocalDateTime
Do infinity conversions for LocalDateTime (#2057)