Flowdock
method

to_time_in_current_zone

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Date

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

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.