"test task 1st June" is parsed as "test task e" using Quick Add Magic #2320

Closed
opened 2024-05-04 10:53:24 +00:00 by belidzs · 2 comments

Description

Steps

  1. Set Quick Add Magic mode to "Vikunja"
  2. Create a new task with the phrase test task 1st June

What happens

  1. Task title becomes test task e (test task 1st June minus 1st Jun)
  2. Due date is 1st of June

Expected

  1. Task title should be test task
  2. Due date should be 1st of June

I understand this is not a valid phrase according to the documentation, but then Vikunja should probably reject it instead of parsing it partially

Vikunja Version

v0.23.0+586-9260b3f1d3

Browser and version

Firefox 125.0.3

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

### Description ### Steps 1. Set Quick Add Magic mode to "Vikunja" 1. Create a new task with the phrase `test task 1st June` ### What happens 1. Task title becomes `test task e` (`test task 1st June` minus `1st Jun`) 1. Due date is 1st of June ### Expected 1. Task title should be `test task` 1. Due date should be 1st of June I understand this is not a valid phrase according to the documentation, but then Vikunja should probably reject it instead of parsing it partially ### Vikunja Version v0.23.0+586-9260b3f1d3 ### Browser and version Firefox 125.0.3 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
belidzs added the
kind/bug
label 2024-05-04 10:53:24 +00:00
Owner

This is now fixed in b0db3ce34c. Please check with the next unstable build (ready in ~45min) or on try.

This is now fixed in https://kolaente.dev/vikunja/vikunja/commit/b0db3ce34c7808709d96c27136e509aea309ea4d. Please check with the next unstable build (ready in ~45min) or on [try](https://try.vikunja.io).
Author

Confirmed working, thanks

Confirmed working, thanks
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#2320
No description provided.