aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/date/calculations.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-07-03 01:39:54 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-07-03 02:13:44 -0300
commit201f373e7a183f33264ae31e7ca66768dddd3ebe (patch)
tree8e37b9e01841bcb9c017b5b40bdcd834866d7b40 /activesupport/lib/active_support/core_ext/date/calculations.rb
parent8cc746331c32a6951e5c73c8a21fd32f00680471 (diff)
downloadrails-201f373e7a183f33264ae31e7ca66768dddd3ebe.tar.gz
rails-201f373e7a183f33264ae31e7ca66768dddd3ebe.tar.bz2
rails-201f373e7a183f33264ae31e7ca66768dddd3ebe.zip
Refactor move some date, time and date_time methods to */zones and fixed some requires
Diffstat (limited to 'activesupport/lib/active_support/core_ext/date/calculations.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/date/calculations.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/date/calculations.rb b/activesupport/lib/active_support/core_ext/date/calculations.rb
index 28fec5394f..e6a213625c 100644
--- a/activesupport/lib/active_support/core_ext/date/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/date/calculations.rb
@@ -1,7 +1,8 @@
require 'date'
require 'active_support/duration'
-require 'active_support/core_ext/time/zones'
require 'active_support/core_ext/object/acts_like'
+require 'active_support/core_ext/date/zones'
+require 'active_support/core_ext/time/zones'
class Date
if RUBY_VERSION < '1.9'