mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-03 00:46:57 -05:00
due today ends at 15:00 #429
Labels
No labels
area/api
area/caldav
area/filters
area/frontend
area/gantt
area/internal-code
area/typesense
bug
changes requested
confirmed
dependencies
enhancement
good first issue
help wanted
kind/bug
kind/feature
needs reproduction
question
security
support
upstream issue
waiting for reply
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vikunja-go-vikunja#429
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @vikunja-bot on GitHub (Apr 1, 2025).
Original issue by zhzy0077 on 2023-01-23T05:44:08.000Z
Description
TZ: Asia/Shanghai, not sure if relevent
Expected: Should it be 00:00 tomorrow?
Vikunja Frontend Version
0.20.2
Vikunja API Version
0.20.1
Browser and version
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
Original issue on Gitea
@kolaente commented on 2023-01-24T15:55:41.000Z:
If you don't provide a date when creating a new task it will use the nearest date, similar to the date picker. In your case you seem to have created the task after 12:00 and before 15:00, hence Vikunja picked 15:00 as the time.
dpschen commented on 2023-01-24T20:42:14.000Z:
I am also confused by this. Shouldn't this pick midnight as due date for today?
zhzy0077 commented on 2023-01-26T17:00:25.000Z:
TBH I don't get it.
@kolaente commented on 2023-01-27T11:42:33.000Z:
The way it is currently implemented, no. Vikunja looks for the next time in three-hour intervals (excluding night).
dpschen commented on 2023-01-27T14:25:29.000Z:
I guess this is what is confusing me.
If I write 'today' what I would mean personally is that that task should be done 'any time today' meaning the due date should be either at midnight or even a bit later since 'my day' – in the sense of my being-awake time – usually ends after midnight.
If I write 'in the next few hours' the current setting would be fine. Maybe even for 'now'. I wouldn't expect the due date to include an hour if I didn't define one.
@kolaente commented on 2023-01-27T15:00:35.000Z:
I think this returns to the discussion we had in https://kolaente.dev/vikunja/frontend/issues/809.
The issue is the api expects to save the due date with a time. Hence we need to pick one when the user does not provide one.
dpschen commented on 2023-01-27T15:49:05.000Z:
You are right! For a quick fix I think that change would improve UX a lot. We should really rebase and merge https://kolaente.dev/vikunja/frontend/pulls/1378 .
The latter only fixes the view part though.