Module: Dwca::Helper

Defined in:
lib/dwca/helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) parse_date(eventDate)

Assume a single range. Extend as we need for ranges.



4
5
6
7
# File 'lib/dwca/helper.rb', line 4

def parse_date(eventDate)
  # TODO: detect ranges
  Chronic.parse(eventDate) 
end