Skip to content

Conversation

w1am
Copy link
Contributor

@w1am w1am commented Aug 22, 2025

By default, .NET serializes TimeSpan values to JSON using the "c" format (e.g., "1.02:03:00"). This format is not widely supported outside of .NET and makes it harder for other languages to consume duration values reliably.

This pull request updates the serialization of TimeSpan to use ISO 8601 duration strings (e.g., "P1DT2H3M"), which are a standardized and widely recognized format. Corresponding tests have been updated to reflect the new representation.

Copy link

linear bot commented Aug 22, 2025

Copy link
Contributor

github-actions bot commented Aug 22, 2025

Qodana for .NET

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@w1am w1am force-pushed the w1am/dev-857-kurrentdb-support-for-iso-8601-timespan-on-msa branch from d3dde36 to 14ae3fd Compare August 22, 2025 08:18
@w1am w1am marked this pull request as ready for review August 22, 2025 11:59
@w1am w1am requested a review from a team as a code owner August 22, 2025 11:59
@w1am w1am merged commit 07bd1b1 into master Aug 27, 2025
11 of 13 checks passed
@w1am w1am deleted the w1am/dev-857-kurrentdb-support-for-iso-8601-timespan-on-msa branch August 27, 2025 05:23
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