[openstreetmap/openstreetmap-website] Add expansion of time info on touch and mouse activation (PR #4361)

Andy Allan notifications at github.com
Thu Nov 23 09:37:36 UTC 2023


The datetime attribute is for machine-readable contexts only and isn't designed for people to read. Having the title going through the i18n system (using `l`) is the whole point - of making something that is human-readable, particularly in other languages.

In the RTL version that you show, it says "09T20:32:14Z-05-2017" which is garbled nonsense, no matter which direction you try to read it! I assume was originally "2017-05-09T20:32:14Z"  and the browser has divided this up on punctuation boundaries, started writing "2017", "-", "05", "-" from the right, then spotted the "T" and switch to LTR for the rest.

I understand your point about perfect being the enemy of good, but there's also a difference between "good" and "not good" :smile: 

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

Message ID: <openstreetmap/openstreetmap-website/pull/4361/c1824071632 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231123/f9093588/attachment.htm>


More information about the rails-dev mailing list