mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-08 23:03:29 -05:00
Creating tasks at xPM are created at xAM #655
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @mechanarchy on GitHub (Oct 5, 2025).
Description
While the time parsing is correctly case insensitive here:
5f1d684551/frontend/src/helpers/time/parseDate.ts (L112-L113)Later in the function you are specifically checking for
pmand not handlingPM:5f1d684551/frontend/src/helpers/time/parseDate.ts (L121)Vikunja Version
v0.24.6and also on the demo site runningv1.0.0-rc2-75-5f1d6845Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
Consequently the following example:

Leads to

Requiring the user to manually adjust the time from
05:00back to17:00as desired.@mechanarchy commented on GitHub (Oct 5, 2025):
Personally I also find it rather questionable that you specifically allow users to create tasks at times such as
8:5 am. The code currently interprets this as8:05 ambut I can think of no valid reasons to accept single-digit minute values.5f1d684551/frontend/src/helpers/time/parseDate.ts (L112)Specifically this part:
(:[0-9][0-9]?)→[0-9]?