diff options
| author | Zog | 2018-04-26 15:09:33 +0200 |
|---|---|---|
| committer | Zog | 2018-04-26 15:09:33 +0200 |
| commit | 59d2f11fdf8475f20fa5683b70eba85f691166c7 (patch) | |
| tree | c1b8d4488ed4117cafc2fee0fa9ce970dc6639d4 | |
| parent | e69dfa80737402286adbfe6f29edae2efca36fd8 (diff) | |
| download | chouette-core-59d2f11fdf8475f20fa5683b70eba85f691166c7.tar.bz2 | |
Refs #6828; Fix PurchaseWindow#bounding_dates6828-fix-purchase-windows-bounding-dates
| -rw-r--r-- | app/models/chouette/purchase_window.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/chouette/purchase_window.rb b/app/models/chouette/purchase_window.rb index bd7cbb41e..8a4a858c4 100644 --- a/app/models/chouette/purchase_window.rb +++ b/app/models/chouette/purchase_window.rb @@ -49,7 +49,7 @@ module Chouette def bounding_dates [ date_ranges.map(&:first).min, - date_ranges.map(&:last).max, + date_ranges.map(&:max).max, ] end |
