Ask HN: Best way to show local time

2 points by slow_donkey ↗ HN
HN and others don't seem to require JS to show localized timestamps. Currently I'm using a library (Luxon) to convert iso8601 clientside from UTC. Is there a better way of approaching this?

Not sure IP is really a better solution but would love to get thoughts.

2 comments

[ 3.6 ms ] story [ 17.2 ms ] thread
Are you sure HN localizes timestamps?
Good point, looks like relative time for recent dates. Could very well be server time for old threads.

Might be viable and is arguably a more user friendly approach. Thanks!