[GH-ISSUE #526] Due date parsing is too aggressive and causes other issues with list entries #6219

Closed
opened 2026-04-20 16:48:43 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @vikunja-bot on GitHub (Apr 1, 2025).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/526

Original issue by martyfuhry on 2022-11-10T01:07:11.000Z

Version information:

Frontend Version: 0.20.0
API Version: 0.20.0
Browser and OS Version: Firefox 106.0.3

Steps to reproduce:

  1. Create a new entry in a list with a fraction, e.g., "2 1/2 inch pocket screws"
  2. The entry has parsed the fraction "1/2" as January 2 and replaces my text with "2 inch pocket screws" (consequently, this is the absolute wrong thing to add to my list)
  3. Edit the entry to add back in the fraction and hit "Save".
  4. The entry has not updated in the original list. You need to refresh the entire page to see the updated entry.

Image 1

Image 2

Image 3

Expected behavior:

  • Integers with fractions should not be misinterpretted as dates when there are no prepositions indicating so.

  • The entry should not have removed my fraction

  • Updating the entry title back to the correct measurement should update the original item in the list without needing to refresh the page.

Actual behavior:

  • The entry was entered incorrectly due to an overly aggressive date time parser

  • A due date was incorrectly applied to my entry

  • Updating the title of the entry and hitting "Save" did not update the title in the list.

Checklist:

  • I have provided all required information
  • I am using the latest release or the latest unstable build
  • I was able to reproduce the bug on try

Original issue on Gitea


@kolaente commented on 2022-11-10T07:27:28.000Z:

How are you editing the task? This seems to work fine for me on try.


@kolaente commented on 2022-11-10T07:28:27.000Z:

Integers with fractions should not be misinterpretted as dates when there are no prepositions indicating so

What would be such a preposition?

Originally created by @vikunja-bot on GitHub (Apr 1, 2025). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/526 _Original issue by martyfuhry on 2022-11-10T01:07:11.000Z_ <!-- Please fill out this issue template to report a bug. If you want to propose a new feature, please open a discussion thread in the forum: https://community.vikunja.io --> **Version information:** Frontend Version: 0.20.0 API Version: 0.20.0 Browser and OS Version: Firefox 106.0.3 **Steps to reproduce:** <!-- Add clear steps to reproduce the bug. Provide screenshots where applicable. --> 1. Create a new entry in a list with a fraction, e.g., "2 1/2 inch pocket screws" 2. The entry has parsed the fraction "1/2" as January 2 and replaces my text with "2 inch pocket screws" (consequently, this is the absolute wrong thing to add to my list) 3. Edit the entry to add back in the fraction and hit "Save". 4. The entry has not updated in the original list. You need to refresh the entire page to see the updated entry. ![Image 1](https://imgur.com/Hd4cvr6) ![Image 2](https://imgur.com/oipq4h9) ![Image 3](https://imgur.com/G9Ui3MT) **Expected behavior:** - Integers with fractions should not be misinterpretted as dates when there are no prepositions indicating so. - The entry should not have removed my fraction - Updating the entry title back to the correct measurement should update the original item in the list without needing to refresh the page. **Actual behavior:** - The entry was entered incorrectly due to an overly aggressive date time parser - A due date was incorrectly applied to my entry - Updating the title of the entry and hitting "Save" did not update the title in the list. **Checklist:** * [ ] I have provided all required information * [X] I am using the latest release or the latest unstable build * [X] I was able to reproduce the bug on [try](https://try.vikunja.io) [Original issue on Gitea](https://kolaente.dev/vikunja/vikunja/issues/1994) --- _**@kolaente** commented on 2022-11-10T07:27:28.000Z_: How are you editing the task? This seems to work fine for me on try. --- _**@kolaente** commented on 2022-11-10T07:28:27.000Z_: > Integers with fractions should not be misinterpretted as dates when there are no prepositions indicating so What would be such a preposition?
Author
Owner

@kolaente commented on GitHub (Apr 1, 2025):

Closing as inactive, please ping or open a new issue with relevant information if you still have this problem.

<!-- gh-comment-id:2769754197 --> @kolaente commented on GitHub (Apr 1, 2025): Closing as inactive, please ping or open a new issue with relevant information if you still have this problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6219