diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-07-01 08:02:41 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-07-01 08:02:41 +0100 |
commit | c685d12c19f953768ee445ab29faeb4a1be54535 (patch) | |
tree | 5f8bab62d4dd441eab1715d993ed9fa3273b54a1 /activesupport/CHANGELOG.md | |
parent | 210cd756a628cc19c0d6e44bee8c33dfb2d9d598 (diff) | |
download | rails-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