method

to_time_in_current_zone

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: Date
to_time_in_current_zone() public

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

Show source
Register or log in to add new notes.