Method: TempestTime::Helpers::TimeHelper#formatted_date

Defined in:
lib/tempest_time/helpers/time_helper.rb

#formatted_date(date) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/tempest_time/helpers/time_helper.rb', line 38

def formatted_date(date)
  Date::DAYNAMES[date.wday] +
    ', ' +
    Date::MONTHNAMES[date.month] +
    ' ' +
    date.day.to_s
end