mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
f0a9e2f852
Rely on the hub files for Time, Date and DateTime classes and add the requires for String#to_time and String#in_time_zone.
20 lines
563 B
Ruby
20 lines
563 B
Ruby
require 'active_support'
|
|
|
|
module ActiveSupport
|
|
autoload :Duration, 'active_support/duration'
|
|
autoload :TimeWithZone, 'active_support/time_with_zone'
|
|
autoload :TimeZone, 'active_support/values/time_zone'
|
|
end
|
|
|
|
require 'date'
|
|
require 'time'
|
|
|
|
require 'active_support/core_ext/time'
|
|
require 'active_support/core_ext/date'
|
|
require 'active_support/core_ext/date_time'
|
|
|
|
require 'active_support/core_ext/integer/time'
|
|
require 'active_support/core_ext/numeric/time'
|
|
|
|
require 'active_support/core_ext/string/conversions'
|
|
require 'active_support/core_ext/string/zones'
|