Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc insta…
…nces are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved]
- Loading branch information
Showing
3 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4d71e99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks in jruby (tested with 1.1.4)
4d71e99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be a bug in jruby’s unmarshalling code, we’ve reported it upstream and may build our own work around for it.
4d71e99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve shipped a work around for this. It’s still misbehaving in jruby, but the behaviour should at least not cause errors