Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.0.3) is shown here.
unadjust(time)
public
Reinterprets the given time value as a time in the current time zone, and
then adjusts it to return the corresponding time in the local time zone.
Show source
def unadjust(time)
time = time.to_time unless time.is_a?(::Time)
time = time.localtime
time - utc_offset - time.utc_offset
end