summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-02 15:13:40 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-02 15:13:40 +0200
commit9a3274345dc83096a9bdea612ec77cb2406fef21 (patch)
tree69dbd2eddcd49a2a967b7d63a31edf845dd201fe /config
parent2c54303b1ac08ec6b7382ece218f37d59db7052c (diff)
Fix DST drift in occurrence generation
- Occurrence.generate_dates: use ChaosCalendar::occurrences_for_timezone with Time.zone.tzinfo.identifier — occurrences now keep wall-clock time across DST boundaries (19:00 stays 19:00 in summer and winter); requires chaoscalendar gem with occurrences_for_timezone support (Gemfile.lock bumped accordingly) - Occurrence.find_in_range: joins(:event) inner join excludes occurrences whose event no longer exists (107k orphaned rows from the pre-revival calendar era were purged from the test DB); includes(:node) retained for eager loading; column references qualified with table name
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions