vikunja/frontend/src
Copilot 7cd3f69096
fix: prevent date picker from selecting past times at hour breakpoints (#1814)
The function previously used <= for hour comparisons, which caused it to
return a breakpoint hour even if the current time had passed it. For example,
at 15:54, it would return 15 (3:00 PM), which is in the past.

Now the function checks both hours and minutes:
- If current time is before a breakpoint hour, return that hour
- If current time is exactly at a breakpoint hour with 0 minutes, return that hour
- If current time is past a breakpoint (hour with minutes > 0), return the next breakpoint

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kolaente <13721712+kolaente@users.noreply.github.com>
2025-11-13 10:46:24 +01:00
..
assets feat: add subsets for all supported languages 2025-08-17 23:11:30 +02:00
components fix(date picker): hide "this weekend" option on Sunday after 9pm (#1813) 2025-11-13 09:08:48 +00:00
composables feat: add time display with configurable format (12h/24h) to non-relative date formats (#1807) 2025-11-13 08:57:06 +00:00
constants feat: add time display with configurable format (12h/24h) to non-relative date formats (#1807) 2025-11-13 08:57:06 +00:00
directives fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
helpers fix: prevent date picker from selecting past times at hour breakpoints (#1814) 2025-11-13 10:46:24 +01:00
i18n feat: add time display with configurable format (12h/24h) to non-relative date formats (#1807) 2025-11-13 08:57:06 +00:00
indexes chore: fix indentation 2025-06-19 10:53:35 +02:00
message fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
modelSchema/common chore: fix indentation 2025-06-19 10:53:35 +02:00
modelTypes feat: add time display with configurable format (12h/24h) to non-relative date formats (#1807) 2025-11-13 08:57:06 +00:00
models feat: add time display with configurable format (12h/24h) to non-relative date formats (#1807) 2025-11-13 08:57:06 +00:00
modules fix(date parsing): 12pm/12am edge case 2025-10-08 18:35:11 +02:00
router fix(user): race condition during email confirmation (#1575) 2025-09-30 20:14:25 +02:00
services feat: add comment count to tasks (#1771) 2025-11-11 23:00:05 +01:00
stores feat: add time display with configurable format (12h/24h) to non-relative date formats (#1807) 2025-11-13 08:57:06 +00:00
styles fix: mobile device minimum width (#1337) 2025-09-01 22:49:42 +02:00
types fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
views feat: add time display with configurable format (12h/24h) to non-relative date formats (#1807) 2025-11-13 08:57:06 +00:00
App.vue fix(user): race condition during email confirmation (#1575) 2025-09-30 20:14:25 +02:00
histoire.setup.ts chore: fix indentation 2025-06-19 10:53:35 +02:00
main.ts feat: allow setting dark custom logo 2025-11-12 21:07:01 +01:00
pinia.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
registerServiceWorker.ts fix: lint issues 2024-10-29 09:57:53 +00:00
sentry.ts fix: migrate Sentry integration to SDK v8 API (#1769) 2025-11-07 15:20:57 +00:00
sw.ts fix: correct comments 2025-07-02 17:46:21 +02:00
urls.ts feat: add utm tag to powered by link 2024-09-23 12:07:06 +02:00
version.json chore: add missing eof newlines (#969) 2025-06-17 09:11:32 +00:00