Commit Graph

10 Commits

Author SHA1 Message Date
kolaente 8419794b65
fix(quick-add-magic): prevent parsing partial keywords in words (#2140)
- Fixed date parser incorrectly extracting date components from within
words
- "Renovation - 2nd Floor Bath" no longer becomes "Reation - Floor Bath"
with a due date of November 2nd

## Changes
- `getMonthFromText` now requires word boundaries, preventing "nov" from
matching inside "Renovation" or "mar" inside "Remark"
- `getDayFromText` now only matches ordinals when followed by
end-of-string, time expressions, or month names, preventing "2nd Floor"
from being parsed as a date

Resolves
https://community.vikunja.io/t/quick-add-magic-unintended-date-parsing/4259
2026-01-23 22:23:42 +00:00
kolaente 1f1e0b227d
fix(date parsing): 12pm/12am edge case
Fixes a regression introduced in
c2e224dbb1
2025-10-08 18:35:11 +02:00
kolaente c2e224dbb1
fix: correct case-sensitivity in duedate time parsing (#1613)
Co-authored-by: mechanarchy <1166756+mechanarchy@users.noreply.github.com>
2025-10-08 16:24:54 +00:00
kolaente fc55563ddd
fix: strip label syntax with parentheses from task title (#1300) 2025-08-17 15:05:55 +02:00
Finn Weigand fbec58a50b
feat: allow to write date via Quick Add Magic in DMY format with dots (#744)
Co-authored-by: Hudint Finn Weigand <dev@hudint.de>
2025-05-09 13:08:17 +00:00
Harry Martland 8dfb34c863 feat: add tonight as a quick add date option (#2866)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2866
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Harry Martland <HarryEMartland@gmail.com>
Co-committed-by: Harry Martland <HarryEMartland@gmail.com>
2024-11-26 10:46:09 +00:00
kolaente 703c641aeb fix: lint issues 2024-10-29 09:57:53 +00:00
kolaente 92cdf5fe9c
fix(quick add magic): assume today when no date was specified with time 2024-06-06 21:44:29 +02:00
kolaente b0db3ce34c
fix(quick add magic): parse full month name as month, do not replace only the abbreviation
Resolves https://kolaente.dev/vikunja/vikunja/issues/2320
2024-05-05 14:14:30 +02:00
kolaente fc4676315d
chore: move frontend files 2024-02-07 14:56:56 +01:00
Renamed from src/modules/parseTaskText.test.ts (Browse further)