Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Dec 11, 2025

Backport ffb046b from #99808.

Fixes #99797

According to the docs the millis were in the format `.SSSSSS`. In
reality though, it only accepted exactly `.SSS`, not `.SS` or `.SSSS`
and specifically also not `.SSSSSS`, contrary to the docs. Further, it did
not fail with an error message but simply produced the wrong value.

With this change it accepts everything from `.` to `.SSSSSS` and
produces the correct result. This is compatible with the previous
behavior, with the documentation and with everything in between.

Signed-off-by: Martin Stumpf <[email protected]>
(cherry picked from commit ffb046b)
@github-actions github-actions bot added the Backport Backport PR and backport failure issues label Dec 11, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Dec 11, 2025
@JarmouniA JarmouniA closed this Dec 11, 2025
@github-project-automation github-project-automation bot moved this from To do to Done in Backports Dec 11, 2025
@JarmouniA JarmouniA reopened this Dec 11, 2025
@github-project-automation github-project-automation bot moved this from Done to Needs more info in Backports Dec 11, 2025
@JarmouniA JarmouniA added this to the v4.2.2 milestone Dec 11, 2025
@sonarqubecloud
Copy link

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

Labels

area: mcumgr Backport Backport PR and backport failure issues

Projects

Status: Needs more info

Development

Successfully merging this pull request may close these issues.

5 participants