-
-
Notifications
You must be signed in to change notification settings - Fork 293
Description
Please check that this issue hasn't been reported before.
- I searched previous Bug Reports didn't find any similar reports.
Expected Behavior
I have this task:
- [ ] #task Do Stuff 🔁 every day until March 29, 2023 📅 2023-03-24
And I check it, then I should get this:
- [ ] #task Do Stuff 🔁 every day until March 29, 2023 📅 2023-03-25
- [x] #task Do Stuff 🔁 every day until March 29, 2023 📅 2023-03-24 ✅ 2023-03-31
Current behaviour
I have this task:
- [ ] #task Do Stuff 🔁 every day until March 29, 2023 📅 2023-03-24
And I check it and get this:
- [ ] #task Do Stuff 🔁 every day until March 28, 2023 📅 2023-03-25
- [x] #task Do Stuff 🔁 every day until March 29, 2023 📅 2023-03-24 ✅ 2023-03-31
Note that the "until date" has changed.
It's quite funny, because when you open the task in the editor, you can see 2 different dates, because each parsing pass subtracts one day. In the above case it would be "March 29, 2023" in the Markdown file, "March 28, 2023" in the parsed text field in the "Create or edit Task" dialog and just below the (again parsed) text: "March 27, 2023".
Also, as a side note, ISO date format doesn't work there, which is a shame.
Steps to reproduce
see above
Which Operating Systems are you using?
- Android
- iPhone/iPad
- Linux
- macOS
- Windows
Obsidian Version
v1.1.16
Tasks Plugin Version
2.0.1
Checks
- I have tried it with all other plugins disabled and the error still occurs
Possible solution
It's quite possible that this is a bug of the NL parser library used?
If you give me a couple of days, I'll dig into the source myself and see if I can come up with a fix.