Cosmos DateTime Serialization #35189
Labels
area-cosmos
closed-no-further-action
The issue is closed and no further action is planned.
customer-reported
File a bug
Cosmos Provider DateTime Serialization does not serialize in the expected format:
yyyy-MM-ddTHH:mm:ss.fffffffZ
Include your code
Create any model that contains a DateTime and save it to cosmos
The serialized timestamp does not follow the cosmos recommendations:
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/query/working-with-dates#storing-datetimes.
Related to Azure/azure-cosmos-dotnet-v3#4904 but I dont believe the ef core cosmos provider uses Json Serialization
Include provider and version information
EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET 6.0)
Operating system:
IDE: (e.g. Visual Studio 2022 17.4)
The text was updated successfully, but these errors were encountered: