Module

ActiveSupport::CoreExtensions::DateTime::Calculations::ClassMethods

Inheritance

Methods

Instance

Visibility Signature
public current ()
public local_offset ()

Instance Method Detail

current()

local_offset()

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