• A
    Remove DateTime#to_time override · c685d12c
    Andrew White 提交于
    Currently if the offset is not zero then to_time returns self which
    can lead to errors where a developer assumes that the value is a
    Time. To solve this we can use the native implementation of
    DateTime#to_time in Ruby 1.9.3 as it handles offsets properly and
    is faster than our override.
    c685d12c
conversions.rb 3.2 KB