mojombo/chronic — Issue #81: Using pm and dot separator returns nil
Author: yb66
Created: 2012-02-07 04:03:49+00:00
State: open

Hi,

All times with a dot separator for the time and pm return nil:

Chronic::VERSION
=> "0.6.7"
Chronic.parse "12.55"
=> 2012-02-08 00:55:00 0000
Chronic.parse "12.55 am"
=> 2012-02-07 00:55:00 0000
Chronic.parse "12.55 pm"
=> nil
Chronic.parse "12:55 am"
=> 2012-02-07 00:55:00 0000
Chronic.parse "12:55 pm"
=> 2012-02-07 12:55:00 0000

RUBY_PLATFORM
=> "x86_64-darwin10.7.0"

Ruby version: ruby-1.9.2-p290

Adding `now` or `context` has no effect and adding a date has no effect on the results. I'd expect it to produce the same result as when using a colon separator. Please let me know if there is more info I need to give.

Regards,
Iain