1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

AS datetime conversions now require AS time conversions

This commit is contained in:
snusnu 2010-03-18 18:40:22 +01:00 committed by wycats
parent 3911a7c197
commit d164d868b3

View file

@ -1,4 +1,5 @@
require 'active_support/inflector'
require 'active_support/core_ext/time/conversions'
class DateTime
# Ruby 1.9 has DateTime#to_time which internally relies on Time. We define our own #to_time which allows