We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require "active_support/all" (1.second + 1.hour/10).inspect # (1.second + 1.hour/10.0).inspect works properly due to float division
0.1 hour, 1 second or 361 seconds
0.1 hour, 1 second
361 seconds
1 second
Rails version: 6.1.3.2
Ruby version: 2.7.3
The text was updated successfully, but these errors were encountered:
I'd like to investigate this one if possible 🙏
Sorry, something went wrong.
martinjaimem
Successfully merging a pull request may close this issue.
Steps to reproduce
Expected behavior
0.1 hour, 1 second
or361 seconds
Actual behavior
1 second
System configuration
Rails version:
6.1.3.2
Ruby version:
2.7.3
The text was updated successfully, but these errors were encountered: