Skip to content

Conversation

@amix
Copy link
Member

@amix amix commented Jan 6, 2026

Context

Fixed a bug where weekly cohort data was incorrectly bucketed at year boundaries (e.g., week 52 showing only 20 users when the day view showed 275).

The issue: mixing calendar year (date.year) with ISO week number (date.isocalendar()[1]), resulting in dates like Dec 30 being assigned to the wrong week.

Updated all instances to extract both ISO year and ISO week from isocalendar() for consistency with WeekEvents class.

@amix amix requested a review from Schnouki January 6, 2026 17:47
Copy link

@Schnouki Schnouki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the quick fix!

@amix amix merged commit de88d07 into main Jan 7, 2026
10 checks passed
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

Successfully merging this pull request may close these issues.

3 participants