Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created multi-shift events are 1 hour off #2555

Open
xela1601 opened this issue Feb 10, 2025 · 1 comment
Open

Created multi-shift events are 1 hour off #2555

xela1601 opened this issue Feb 10, 2025 · 1 comment
Labels
🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐟 Small Should be a quick-ish fix.

Comments

@xela1601
Copy link
Collaborator

Description

Created multi-shift event are shifted by 1 hour.

The bug

When creating a new event in the week overview of a projects calendar by clicking on "Create multiple events that form shifts", the created event is 1 hour off after creating. So it starts and ends 1 hour after the user intended it to start and end.

Steps to reproduce

  1. Go to https://app.dev.zetkin.org/organize/1/projects/51/calendar?timeScale=week to open the calendar week view of a specific project
  2. Select a timespan by drag and drop on a day column within the calendar
  3. Click on "Create multiple events that form shifts"
  4. publish the multi-shift event by clicking the publish button

Expected Behaviour

The created multi-shift event starts and ends exactly as selected by the user via drag and drop (Step 2)

Actual Behaviour

The created multi-shift event starts and ends 1 hour after selected by the user.

Screenshots

Drag and drop from 1:00 AM -> 5:00 AM
Image

The created event is between 2:00 AM -> 6:00 AM
Image

@xela1601 xela1601 added the 🐜 bug Something isn't working label Feb 10, 2025
@xela1601 xela1601 changed the title Create multiple Events that form shifts are 1 hour off in calendar Created multi-shift events are 1 hour off in calendar week-view Feb 10, 2025
@xela1601 xela1601 changed the title Created multi-shift events are 1 hour off in calendar week-view Created multi-shift events are 1 hour off Feb 10, 2025
@richardolsson richardolsson added 🚪 entry-level Good for newcomers 🐟 Small Should be a quick-ish fix. labels Feb 10, 2025
@mathiaswiench
Copy link

Would like to work on this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐟 Small Should be a quick-ish fix.
Projects
None yet
Development

No branches or pull requests

3 participants