gravitystorm left a comment (openstreetmap/openstreetmap-website#6534)

> I suggest changing the served page to use absolute date formats and relying 
> on client-side JavaScript to relativize it in the first place.

Can this be done without creating content flicker, where the html version 
appears first before the JS overwrites it?

If not, or if that's complex to implement, then I'd prefer to continue serving 
the relative dates in the HTML and the JS can lazily take over updating it a 
few seconds after page load. The timestamp is already in the "datetime" 
attribute of the surrounding `<time>` tag so the JS can use that as the base. 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6534#issuecomment-3558757373
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/6534/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to