mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Explicit Time/DateTime dependencies
This commit is contained in:
parent
4b921a5bdf
commit
47c7177ef5
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
require 'active_support/core_ext/time/publicize_conversion_methods'
|
||||||
|
require 'active_support/core_ext/time/calculations'
|
||||||
|
require 'active_support/core_ext/time/zones'
|
||||||
|
|
||||||
|
require 'active_support/core_ext/date_time/calculations'
|
||||||
|
require 'active_support/core_ext/date_time/zones'
|
||||||
|
|
||||||
# The TimeZone class serves as a wrapper around TZInfo::Timezone instances. It allows us to do the following:
|
# The TimeZone class serves as a wrapper around TZInfo::Timezone instances. It allows us to do the following:
|
||||||
#
|
#
|
||||||
# * Limit the set of zones provided by TZInfo to a meaningful subset of 142 zones.
|
# * Limit the set of zones provided by TZInfo to a meaningful subset of 142 zones.
|
||||||
|
|
Loading…
Reference in a new issue