Skip to content

Compromise-dates plugin: support for recurring events #1168

@SitrucL

Description

@SitrucL
node - v20.18.1
"compromise": "^14.14.4",
"compromise-dates": "^3.7.1"

I've encountered an issue whilst using the plugin for my project. Some of the docs allude to recurring events being supported by the plugin however I've not been able to achieve this outcome.

For an input text of "Gym every Monday 7am to 9am" I would expect the returned start date to be the next Monday. Instead however, it defaults to today's date (with the correct times though) . Is there a special syntax/prop that's needed to correctly make use of recurring event start dates?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions