Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit b3693bf2f827789a8b1ef5e0a3f653ed58089b1e 1 parent f7ef7ca
@fxn fxn authored
View
1  activesupport/lib/active_support/core_ext/time/calculations.rb
@@ -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]
View
1  activesupport/lib/active_support/core_ext/time/zones.rb
@@ -1,4 +1,3 @@
-require 'active_support/core_ext/time/calculations'
require 'active_support/time_with_zone'
class Time
Please sign in to comment.
Something went wrong with that request. Please try again.