Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compromise-dates plugin: support for recurring events #1168

Open
SitrucL opened this issue Feb 8, 2025 · 1 comment
Open

Compromise-dates plugin: support for recurring events #1168

SitrucL opened this issue Feb 8, 2025 · 1 comment
Labels

Comments

@SitrucL
Copy link

SitrucL commented Feb 8, 2025

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?

@spencermountain
Copy link
Owner

hey @SitrucL - I think you're right, and you found a bug. I would've expected that to work as well.

Happy to take a look at this when I've got some time.
Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants