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:
parent
3911a7c197
commit
d164d868b3
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue