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

Bad handling of dates at year end on Dashboard/tick view #1247

Open
emilyg1709 opened this issue Jan 1, 2025 · 0 comments
Open

Bad handling of dates at year end on Dashboard/tick view #1247

emilyg1709 opened this issue Jan 1, 2025 · 0 comments

Comments

@emilyg1709
Copy link

Steps to Reproduce

  1. Add a tick on a boulder in the first week of the year. The overlap week. Try 01/04/2024 as an example.
  2. Go to user dashboard ticks view with the calendar heat map module
  3. See that your tick from first days of previous year appears twice on this heat map view - once as intended in January, once as a slightly different date on the same day of the week in the final week of the year. Your 01/02/2024 box basically reappears on 01/02/2025 even though this day has not yet occurred. Tick list below appears correctly and contains one single climb on the correct date.

Screenshots

Expected Behavior

No duplicates should appear on the heat map graphic

Current Behavior

See that your tick from first days of previous year appears twice on this heat map view - once as intended in January, once as a slightly different date on the same day of the week in the final week of the year. Your 01/02/2024 box basically reappears on 01/02/2025 even though this day has not yet occurred. Tick list below appears correctly and contains one single climb on the correct date.

Browser & version

<--- Example: Firefox 102.7.0esr -->
Chrome

Operating system

<--- Example: MacOS 13.2.1 -->
Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant