[6.0][CosmosDB] DateTime with z suffix is not respected when reading entities. #26690
Labels
area-cosmos
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
regression
Servicing-approved
type-bug
Milestone
File a bug
I am saving a DateTime using UTC and the document in the database get the z suffix but when I read the entity again it will have the local time, I did not have this behavior in .NET 5.
Include your code
Include verbose output
Include provider and version information
EF Core version: 6.0.0
Database provider: Microsoft.EntityFrameworkCore.Cosmos
Target framework: .NET 6.0
Operating system: Windows 10
IDE: Visual Studio 2022
The text was updated successfully, but these errors were encountered: