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

Month calendar renders events weirdly around DST #2442

Open
richardolsson opened this issue Dec 20, 2024 · 3 comments · May be fixed by #2458
Open

Month calendar renders events weirdly around DST #2442

richardolsson opened this issue Dec 20, 2024 · 3 comments · May be fixed by #2458
Assignees
Labels
🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐬 Medium Just a nice sized issue.

Comments

@richardolsson
Copy link
Member

Description

In the "Project & activities" section of Zetkin, there is a calendar with three view modes (day, week, month). In the month view there should be one item for each event in the calendar. There is some bug related to DST causing a single event to be displayed four times instead of just once.

Steps to reproduce

  1. Go to https://app.dev.zetkin.org/organize/1/projects
  2. Go into any project or create a new one
  3. Create a new event
  4. Set the date to whenever DST ends, currently March 30
  5. Set time to 9.30 - 15.00
  6. Go back to the project
  7. Go to the calendar
  8. Switch to month view and navigate to the month of the event

Expected Behaviour

The event should appear once in the calendar, on the day that it was planned (e.g. March 30).

Actual Behaviour

The event appears four times in the calendar, twice on the correct date and twice on the next day.

Screenshots (if you have any)

Step 8

image

Example from production

I discovered this bug when I was creating hackathons. This screenshot is of two hackathon events, but they are displayed 8 times.
image

@richardolsson richardolsson added 🐜 bug Something isn't working 🚪 entry-level Good for newcomers 🐬 Medium Just a nice sized issue. labels Dec 20, 2024
@xela1601
Copy link
Collaborator

Hey @richardolsson,

i would like to pick this issue for my 2nd contribution. What do you think?

@richardolsson
Copy link
Member Author

Hey @richardolsson,

i would like to pick this issue for my 2nd contribution. What do you think?

Go for it! 💯

@xela1601
Copy link
Collaborator

xela1601 commented Jan 1, 2025

great. Can you assign it to me?

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 🐬 Medium Just a nice sized issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants