class Date

Public Instance Methods

to_time_in_time_zone() click to toggle source
# File lib/timely/rails/date.rb, line 4
def to_time_in_time_zone
  (Time.zone || ActiveSupport::TimeZone['UTC']).local(year, month, day)
end