ajashton created an issue (openstreetmap/openstreetmap-website#6378)
### URL
_No response_
### How to reproduce the issue?
On the contributions heatmap shown on user profile pages, the rows and columns
appear to be aligned to UTC. However the date shown in the hover tooltip is
localized to the browser's time zone. This can lead to a mismatch between the
data being visualized and the date being displayed.
For example, today is Thursday September 4, but when I hover over the Thursday
row for this week on my heatmap, the tooltip says "September 3" when I view it
from UTC-4:00.
<img width="2113" height="301" alt="Image"
src="https://github.com/user-attachments/assets/f1203967-4da8-4037-8aba-d457b3d92388"
/>
I think the tooltip dates should use UTC to match the grid. Alternatively the
grid could be aligned to the browser's local time zone, but I assume that would
be a much more complicated solution.
### Screenshot(s) or anything else?
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6378
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev