-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
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.new and Time#getlocal don't accept a timezone object or a UTC offset string #1717
Comments
Now the error is a bit different:
No issue with MRI rubies thought |
Thank you for reporting! It can be reproduced easily. Will work on a fix. |
I traced this back to The 3.3 docs have more info on how it works: |
@andrykonchin Did you do any work towards this? Do you mind if I work on a PR for it? |
No, timezone object isn't supported yet. It will be great to have it implemented! It should be already covered with specs AFAIK (for |
closes oracle#1717 For compatibility with https://bugs.ruby-lang.org/issues/14850 Co-authored-by: Manef Zahra <[email protected]> Co-authored-by: Patrick Lin <[email protected]>
…localtime} closes oracle#1717 For compatibility with https://bugs.ruby-lang.org/issues/14850 Co-authored-by: Manef Zahra <[email protected]> Co-authored-by: Patrick Lin <[email protected]>
This a new thing in Ruby 2.6. I personally use this in one script loading some Timezones from various coordinates.
To reproduce:
MR 2.6.3:
TruffleRuby 19.1.0
The text was updated successfully, but these errors were encountered: