Skip to content

Returning an array of dates #379

Open
@bragboy

Description

@bragboy
> Chronic.parse('today')
=> 2018-06-30 18:00:00 +0200
> Chronic.parse('tomorrow')
=> 2018-07-01 12:00:00 +0200
> Chronic.parse('today and tomorrow')
=> nil

The first two conditions are returning as expected. However, is it possible to return an array of dates in case it has more than two dates in the context ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions