Module: ActiveSupport::CoreExtensions::DateTime::Calculations::ClassMethods
- Defined in:
- lib/active_support/core_ext/date_time/calculations.rb
Instance Method Summary collapse
- #current ⇒ Object
-
#local_offset ⇒ Object
DateTimes aren’t aware of DST rules, so use a consistent non-DST offset when creating a DateTime with an offset in the local zone.