Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
return UTC instead of GMT (fixes #3304) #3310
Conversation
tdaitx
referenced this pull request
Sep 4, 2015
Closed
zone_spec.rb fails SPEC test "Time#zone returns UTC when called on a UTC time" #3304
added a commit
that referenced
this pull request
Sep 8, 2015
mkristian
merged commit 0596e57
into
jruby:master
Sep 8, 2015
1 check failed
continuous-integration/travis-ci/pr
The Travis CI build failed
Details
enebo
modified the milestone:
Non-Release
May 25, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdaitx commentedSep 4, 2015
As per Ruby's Time#zone [1] UTC should be used instead of GMT
since Ruby 1.8. The spec also expects UTC.
spec/ruby/core/time/zone_spec.rb:
This also fixes #3304.
[1] http://ruby-doc.org/core-2.2.3/Time.html#method-i-zone