Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
DateTime to_time does not preserve UTC-ness #4784
I am excluding some Psych tests from 2.2.4 that have not been updated for Ruby 2.4 changes to DateTime#to_time. These tests are fixed on Psych master but we can't update them until there's a non-beta Psych release.
still an issue when run on a UTC system (Travis CI) :
.. the problem seems to be Psych JRuby incompatibility, to be handled at the psych repository.
here's a reproducer, under MRI 2.5.3 :
JRuby 9.2.5 (and current master - 9.2.6 target) :