Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (36 sloc) 995 Bytes

2010

Date.parse('2010') ArgumentError: invalid date

Date.strptime('2010', '%m/%d/%Y') ArgumentError: invalid date

Chronic.parse('2010') TypeError: can't convert Chronic::RepeaterTime::Tick into an exact number

Timeliness.parse('2010') nil

January

Date.parse('January') => #

Date.strptime('January', '%m/%d/%Y') ArgumentError: invalid date

Chronic.parse('January') => 2011-01-16 12:00:00 -0500

Timeliness.parse('January') nil

February 2010

Date.parse('February 2010') => #

Date.strptime('February 2010', '%m/%d/%Y') ArgumentError: invalid date

Chronic.parse('February 2010') => 2010-02-15 00:00:00 -0500

Timeliness.parse('February 2010') nil

February 9, 2010

Date.parse('February 9, 2010') => #

Date.strptime('February 9, 2010', '%m/%d/%Y') ArgumentError: invalid date

Chronic.parse('February 9, 2010') nil

Timeliness.parse('February 9, 2010') nil

Jump to Line
Something went wrong with that request. Please try again.