Permalink
Browse files

adds a missing require [fixes #6896]

This file uses Time.zone, which is defined in
active_support/core_ext/time/zones.rb.
  • Loading branch information...
fxn committed Jul 14, 2012
1 parent 1156300 commit aa6f5120a71dd04f54f248b6c60890bca6d82adc
@@ -1,6 +1,7 @@
require 'active_support/duration'
require 'active_support/core_ext/time/conversions'
require 'active_support/time_with_zone'
+require 'active_support/core_ext/time/zones'
class Time
COMMON_YEAR_DAYS_IN_MONTH = [nil, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/time/calculations'
require 'active_support/time_with_zone'
class Time

0 comments on commit aa6f512

Please sign in to comment.