This PR is closing feature request #1126 by refactoring of DateTime and DateTimeOffset handling according to Npgsql 6.x guidelines and by dropping the need to use AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);.
Please note that I have only tested it against net7.0 target
This PR is closing feature request #1126 by refactoring of
DateTime
andDateTimeOffset
handling according to Npgsql 6.x guidelines and by dropping the need to useAppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
. Please note that I have only tested it againstnet7.0
target