Skip to content

Conversation

shuyec
Copy link
Contributor

@shuyec shuyec commented Oct 13, 2025

Issue

Context / Why

This PR fixes the function secondsToMilliseconds that didn't handle different timestamps and wrongly returned decimal numbers.
The function got renamed to timestampToMilliseconds and it now handles timestamps in seconds, milliseconds, microseconds and nanoseconds. Moreover, it returns a truncated result.

Impacted services

  • commons, authorization-server

Checklist

  • Fix secondsToMilliseconds

@shuyec shuyec added the hotfix label Oct 13, 2025
@shuyec shuyec marked this pull request as draft October 15, 2025 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant