Skip to content

Add note about trailing second fraction zeros being omitted when writing DateTime[Offset]s in System.Text.Json #16128

@layomia

Description

@layomia

Issue description

The section about how the serializer and writer produce these types doesn't provide this information: https://docs.microsoft.com/en-us/dotnet/standard/datetime/system-text-json-support#support-for-formatting.

This test data set shows how the omission is done.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions