Module: DateOutput::ViewHelpers

Defined in:
lib/date_output/view_helpers.rb

Instance Method Summary collapse

Instance Method Details

#full_date(date, options = {}) ⇒ Object



20
21
22
# File 'lib/date_output/view_helpers.rb', line 20

def full_date(date,options={})
  DateOutput.full_date(date,options)
end

#full_date_with_time(date, options = {}) ⇒ Object



4
5
6
# File 'lib/date_output/view_helpers.rb', line 4

def full_date_with_time(date,options={})
  DateOutput.full_date_with_time(date,options)
end

#long_date_no_day(date, options = {}) ⇒ Object



28
29
30
# File 'lib/date_output/view_helpers.rb', line 28

def long_date_no_day(date, options={})
  DateOutput.long_date_no_day(date, options)
end

#long_date_no_day_with_time(date, options = {}) ⇒ Object



36
37
38
# File 'lib/date_output/view_helpers.rb', line 36

def long_date_no_day_with_time(date, options={})
  DateOutput.long_date_no_day_with_time(date, options)
end

#numbered_date(date, options = {}) ⇒ Object



16
17
18
# File 'lib/date_output/view_helpers.rb', line 16

def numbered_date(date,options={})
  DateOutput.numbered_date(date,options)
end

#numbered_date_with_time(date, options = {}) ⇒ Object



12
13
14
# File 'lib/date_output/view_helpers.rb', line 12

def numbered_date_with_time(date,options={})
  DateOutput.numbered_date_with_time(date,options)
end

#short_date(date, options = {}) ⇒ Object



24
25
26
# File 'lib/date_output/view_helpers.rb', line 24

def short_date(date,options={})
  DateOutput.short_date(date,options)
end

#short_date_no_day(date, options = {}) ⇒ Object



32
33
34
# File 'lib/date_output/view_helpers.rb', line 32

def short_date_no_day(date, options={})
  DateOutput.short_date_no_day(date, options)
end

#short_date_no_day_with_time(date, options = {}) ⇒ Object



40
41
42
# File 'lib/date_output/view_helpers.rb', line 40

def short_date_no_day_with_time(date, options={})
  DateOutput.short_date_no_day_with_time(date, options)
end

#short_date_with_time(date, options = {}) ⇒ Object



8
9
10
# File 'lib/date_output/view_helpers.rb', line 8

def short_date_with_time(date,options={})
  DateOutput.short_date_with_time(date,options)
end