Module: DateFormat

Included in:
Tags::TagFriend
Defined in:
lib/docfolio/date_format.rb

Overview

convert the date from ‘dd-Oct-yy’ to seconds past UNIX epoc accepts dd_Mmm-yy dd-Mmmmmmm-yy dd-MMM-yy and other similar

Defined Under Namespace

Classes: DateExtractor

Instance Method Summary collapse

Instance Method Details

#format_date(date) ⇒ Object



78
79
80
# File 'lib/docfolio/date_format.rb', line 78

def format_date(date)
  DateExtractor.new.format_date(date)
end