Skip to content

fix #8880. Added a second with Rational#8881

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:topic/fix_8880
Jun 30, 2025
Merged

fix #8880. Added a second with Rational#8881
enebo merged 1 commit intojruby:masterfrom
enebo:topic/fix_8880

Conversation

@enebo
Copy link
Member

@enebo enebo commented Jun 30, 2025

Missed case that Rational(1,1) is in fact a whole number and needs to be subtracted if seconds to Time are passed in.

@enebo enebo added this to the JRuby 10.0.1.0 milestone Jun 30, 2025
@enebo enebo merged commit 81f6ae6 into jruby:master Jun 30, 2025
72 checks passed
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.

1 participant