method

in_time_zone

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: String
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.