Skip to content

[DO NOT MERGE] Preserve subsecond timestamps - #3357

Closed
smilkuri wants to merge 2 commits into
masterfrom
preserve-subsecond-timestamps
Closed

smilkuri wants to merge 2 commits into
masterfrom
preserve-subsecond-timestamps

Conversation

@smilkuri

Copy link
Copy Markdown
Contributor

After CI succeeds merge #3353

jonathan343 and others added 2 commits September 15, 2026 16:25
Serialize unixTimestamp and iso8601 request timestamps with the
sub-second precision the caller provided instead of truncating to
whole seconds. Whole-second values are unchanged; rfc822 remains
whole seconds per spec.

Add TimestampShape::formatAsString for string-bound locations
(query, XML, REST headers/querystring/URI) so float epoch values are
not truncated by PHP's `precision` ini setting when cast to string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants