aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-07-01 08:02:41 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2012-07-01 08:02:41 +0100
commitc685d12c19f953768ee445ab29faeb4a1be54535 (patch)
tree5f8bab62d4dd441eab1715d993ed9fa3273b54a1 /activesupport/CHANGELOG.md
parent210cd756a628cc19c0d6e44bee8c33dfb2d9d598 (diff)
downloadrails-c685d12c19f953768ee445ab29faeb4a1be54535.tar.gz
rails-c685d12c19f953768ee445ab29faeb4a1be54535.tar.bz2
rails-c685d12c19f953768ee445ab29faeb4a1be54535.zip
Remove DateTime#to_time override
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.
Diffstat (limited to 'activesupport/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions