Skip to content

Undefined method start for nil class #338

Open
@fearnowrath

Description

@fearnowrath

When i try to use Chronic.parse on the following I get an error.

require 'chronic'
puts Chronic.parse '9 hours and 43 minutes ago'

Error:
/chronic/handlers.rb:517:in get_anchor': undefined method start=' for nil:NilClass (NoMethodError)

What could be causing the error?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions