Skip to content

Time: minimal fix for Rails Time.change() problem#5587

Merged
enebo merged 1 commit intojruby:masterfrom
dr-itz:timezone-fix-minimal
Feb 1, 2019
Merged

Time: minimal fix for Rails Time.change() problem#5587
enebo merged 1 commit intojruby:masterfrom
dr-itz:timezone-fix-minimal

Conversation

@dr-itz
Copy link
Contributor

@dr-itz dr-itz commented Jan 31, 2019

When there is no timezone (empty string), return nil like MRI.

See also jruby/activerecord-jdbc-adapter#980

When there is no timezone (empty string), return nil like MRI.
@kares
Copy link
Member

kares commented Feb 1, 2019

nice, let's try to squeeze this one into 9.2.6 😉 // cc @enebo

@kares kares added this to the JRuby 9.2.6.0 milestone Feb 1, 2019
@enebo
Copy link
Member

enebo commented Feb 1, 2019

@dr-itz have you ever contributed to ruby/spec before? because this one is screaming for a spec...

@enebo enebo merged commit 0f18759 into jruby:master Feb 1, 2019
@dr-itz
Copy link
Contributor Author

dr-itz commented Feb 3, 2019

@enebo no, but I'll look into it..there's more than one spec needed here...but it'll probably be not before next weekend or so...

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.

3 participants