Skip to content

fix(http-specs): accept 7-digit fractional seconds datetime in ModelWithDatetime XML scenario#10016

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-workaround-for-test-acceptance
Draft

fix(http-specs): accept 7-digit fractional seconds datetime in ModelWithDatetime XML scenario#10016
Copilot wants to merge 2 commits intomainfrom
copilot/add-workaround-for-test-acceptance

Conversation

Copy link
Contributor

Copilot AI commented Mar 13, 2026

.NET/Windows clients serialize UTC datetimes with 7 fractional digit ticks (e.g. 2022-08-26T18:38:00.0000000Z), which is a valid ISO 8601 / RFC 3339 representation but was rejected by the Payload_Xml_ModelWithDatetimeValue_put mock handler.

Changes

Copilot AI and others added 2 commits March 13, 2026 02:10
…time XML scenario

Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 13, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@typespec/http-specs@10016

commit: c73e492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib:http-specs For issues/prs related to the @typespec/http-specs package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants