method

in_time_zone

Importance_1
in_time_zone(zone = ::Time.zone) public

Converts String to a TimeWithZone in the current zone if Time.zone or Time.zone_default is set, otherwise converts String to a Time via String#to_time

Show source
Register or log in to add new notes.