Flowdock
method

to_time_in_current_zone

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Date
to_time_in_current_zone() public

DEPRECATED: Use +Date#in_time_zone+ instead.

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.