c685d12c19
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. |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |