[openstreetmap/openstreetmap-website] Fix month label index desync causing missing labels (PR #6725)
mmd
notifications at github.com
Tue Jan 20 22:36:31 UTC 2026
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/c3775276556 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260120/54556eb5/attachment.htm>
More information about the rails-dev
mailing list