# File lib/active_support/core_ext/date/conversions.rb, line 25 def to_time(form = :local) if respond_to?(:hour) ::Time.send(form, year, month, day, hour, min, sec) else ::Time.send(form, year, month, day) end end