[openstreetmap/openstreetmap-website] Contribution heatmap is off by a month (Issue #5802)
Minh Nguyễn
notifications at github.com
Fri Mar 14 19:10:55 UTC 2025
1ec5 created an issue (openstreetmap/openstreetmap-website#5802)
The horizontal axis on the user contribution heatmap is off by a month. Each label across the top appears to be centered over the following month. For example, if you’ll excuse me showing off my own profile:
<img src="https://github.com/user-attachments/assets/bf959db2-5dc1-416c-9c8b-23f0987d7c85" width="960" alt="The tooltip says March 04, 2025, but the label above it says February.">
Not sure if this is a bug in cal-heatmap upstream or in this repository, since [the template](https://github.com/openstreetmap/openstreetmap-website/blob/037be97bf1fd758dfacd7861276f13a629261a59/app/views/users/show.html.erb#L245-L253) only contains an explicit list for the day labels along the side.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5802
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5802 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250314/dc4e125f/attachment.htm>
More information about the rails-dev
mailing list