diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-02 15:13:40 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-02 15:13:40 +0200 |
| commit | 9a3274345dc83096a9bdea612ec77cb2406fef21 (patch) | |
| tree | 69dbd2eddcd49a2a967b7d63a31edf845dd201fe /Gemfile.lock | |
| parent | 2c54303b1ac08ec6b7382ece218f37d59db7052c (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 'Gemfile.lock')
| -rw-r--r-- | Gemfile.lock | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index b5c5c77..2e9a1ce 100644 --- a/Gemfile.lock +++ b/Gemfile.lock | |||
| @@ -8,7 +8,7 @@ GIT | |||
| 8 | 8 | ||
| 9 | GIT | 9 | GIT |
| 10 | remote: https://github.com/erdgeist/chaoscalendar.git | 10 | remote: https://github.com/erdgeist/chaoscalendar.git |
| 11 | revision: 3c0b34dd260f11d15378a6255d9862d629c8413a | 11 | revision: 48fe5c517ae3895cc78d9d2fefbdd35b90d52ba7 |
| 12 | branch: erdgeist-ruby1.9 | 12 | branch: erdgeist-ruby1.9 |
| 13 | specs: | 13 | specs: |
| 14 | chaos_calendar (0.1.3) | 14 | chaos_calendar (0.1.3) |
