Login
From:
alexwlchan
(Uncensored)
subscribe
Localising the <time> with JavaScript
https://alexwlchan.net/2025/localising-the-time/?ref=rss
links
backlinks
Tagged with:
javascript
datetime shenanigans
I'm using the `` element and some JavaScript to display timestamps as human-readable, localised timestamps. Something like `Tue, 15 Apr 2025 at 20:45 BST` is easier to read than `2025-04-15T19:45:00Z`.
Roast topics
Find topics
Find it!