mmd-osm left a comment (openstreetmap/openstreetmap-website#6725)
This might be a bit easier to read:
```ruby
months = months.map.with_index do |month, index|
month_offset += 12 if index.positive? && month == 1
month + month_offset
end
```
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6725#issuecomment-3775276556
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6725/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev