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
Time.now.change(offset: 0) => 2017-04-10 17:35:53 +0300 DateTime.now.change(offset: 0) => Mon, 10 Apr 2017 17:35:57 +0000
Time#change should have :offset option just like DateTime.
Time#change
:offset
Time.now.change(offset: 0) => 2017-04-10 17:35:53 +0000
Time#change doesn't have :offset option.
Rails version: 4.2
Ruby version: 2.2
The text was updated successfully, but these errors were encountered:
cc @pixeltrix
Sorry, something went wrong.
851b7f8
No branches or pull requests
Steps to reproduce
Expected behavior
Time#change
should have:offset
option just like DateTime.Actual behavior
Time#change
doesn't have:offset
option.System configuration
Rails version:
4.2
Ruby version:
2.2
The text was updated successfully, but these errors were encountered: