Skip to content

fix gathering duplication bug#45

Open
xjlin0 wants to merge 2 commits intomainfrom
gathering_duplicates
Open

fix gathering duplication bug#45
xjlin0 wants to merge 2 commits intomainfrom
gathering_duplicates

Conversation

@xjlin0
Copy link
Copy Markdown
Owner

@xjlin0 xjlin0 commented Apr 8, 2026

When auto/manually creating series of gatherings/attendances, duplication of gatherings start/end on UTC rather than local time zone will be accidentally created because of timezone ambiguity. This MR fix that and always use meet.infos['default_time_zone'] rather than users timezone since users can be in any timezone.

Query to find meets that does NOT have default_time_zone:

SELECT 
    id,
    slug,
    display_name,
    infos
FROM occasions_meets
WHERE is_removed = false
  AND (
    infos->>'default_time_zone' IS NULL 
    OR infos->>'default_time_zone' = ''
  )
ORDER BY id;

@xjlin0 xjlin0 self-assigned this Apr 8, 2026
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.

1 participant