Quick Add Magick: Support localized date formats #1825
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1825
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the Quick Add Magic feature only recognizes english dates and it would be cool, if the feature adapts to the locale of the user.
That would be nice. I can currently see a wrong suggestion in the "Qucik Add Magic"-Section. "17/02/2021" doesn't work, but 02/17/2021 does.
I think the easiest solution would be a custom regex user-setting with support for 2-3 capture-groups in /src/helpers/time/parseDate.ts (getDateFromText)
@tamaskan You mean the user would be required to enter the appropriate regex manually in the settings? I don't think that's great UX.
See: https://community.vikunja.io/t/autocomplete-with-quick-add-magic/456/9