events/convoys: erratic behaviour when importing an event and/or changing start times #1

Closed
opened 2026-04-06 15:02:44 +02:00 by kosmos · 4 comments
Owner

Changing the events start time does not automatically adjust the convoys, this can only be fixed manually, e.g. by moving the first convoy down and up again.

Changing the events start time does not automatically adjust the convoys, this can only be fixed manually, e.g. by moving the first convoy down and up again.
Author
Owner

Status update: I have implemented a local fix for the scheduling issue. When the event start time or the default convoy interval is changed, convoys with automatic start times are now re-scheduled server-side from the event baseline. In addition, removing a manual convoy start time now correctly falls back to the automatic schedule. UI verification is still in progress.

Status update: I have implemented a local fix for the scheduling issue. When the event start time or the default convoy interval is changed, convoys with automatic start times are now re-scheduled server-side from the event baseline. In addition, removing a manual convoy start time now correctly falls back to the automatic schedule. UI verification is still in progress.
Author
Owner

Status update: besides the server-side rescheduling fix for auto-timed convoys, I also aligned the date/time handling with the intended model of storing times in UTC while interpreting user input and rendering displayed times in the user's local timezone. The local date/time field initialization and displayed schedule formatting were adjusted to avoid unstable time shifts after reloads caused by server-vs-browser timezone differences. Lint and build are clean after this change.

Status update: besides the server-side rescheduling fix for auto-timed convoys, I also aligned the date/time handling with the intended model of storing times in UTC while interpreting user input and rendering displayed times in the user's local timezone. The local date/time field initialization and displayed schedule formatting were adjusted to avoid unstable time shifts after reloads caused by server-vs-browser timezone differences. Lint and build are clean after this change.
Author
Owner

Verification update: after the follow-up adjustments to UTC/local-time consistency, the behavior now appears stable in testing. The event start-time change correctly updates the convoy schedule, and the displayed convoy times remain consistent after reloads.

Verification update: after the follow-up adjustments to UTC/local-time consistency, the behavior now appears stable in testing. The event start-time change correctly updates the convoy schedule, and the displayed convoy times remain consistent after reloads.
Author
Owner

Final update: implemented and verified. The event schedule now re-syncs automatic convoy times when the event start time or interval changes, and the local date/time handling is stable with UTC storage and local user-facing rendering. Pushed to main in commit d278d43.

Final update: implemented and verified. The event schedule now re-syncs automatic convoy times when the event start time or interval changes, and the local date/time handling is stable with UTC storage and local user-facing rendering. Pushed to main in commit d278d43.
kosmos changed title from Changing the events start time does not automatically adjust the convoys, this can only be fixed manually, e.g. by moving the first convoy down and up again. to events/convoys: erratic behaviour when importing an event and/or changing start times 2026-04-07 16:26:47 +02:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/flexikonvoi#1