Class: Date
Instance Method Summary collapse
Instance Method Details
#to_timezone ⇒ Object
3 4 5 |
# File 'lib/wdd-ruby-ext/time.rb', line 3 def to_timezone @day_start_timezone ||= ActiveSupport::TimeWithZone.new( nil, Time.zone, Time.utc( self.year, self.month, self.day ) ) end |