Because we don't store a timezone preference for users, any absolute dates rendered by the server appear in UTC. We typically dodge around this by using relative dates (e.g. "3 hours ago"), but it kinda sucks to be limited to this, and in the rare cases where we do still use an absolute date, it's confusing.
I think it would be reasonable to have some JS on the page that formats all absolute times in the browser's current locale. It could just look at the <time> elements on the page and format ones that are (somehow) marked as absolute.
Because we don't store a timezone preference for users, any absolute dates rendered by the server appear in UTC. We typically dodge around this by using relative dates (e.g. "3 hours ago"), but it kinda sucks to be limited to this, and in the rare cases where we do still use an absolute date, it's confusing.
I think it would be reasonable to have some JS on the page that formats all absolute times in the browser's current locale. It could just look at the `<time>` elements on the page and format ones that are (somehow) marked as absolute.
Because we don't store a timezone preference for users, any absolute dates rendered by the server appear in UTC. We typically dodge around this by using relative dates (e.g. "3 hours ago"), but it kinda sucks to be limited to this, and in the rare cases where we do still use an absolute date, it's confusing.
I think it would be reasonable to have some JS on the page that formats all absolute times in the browser's current locale. It could just look at the
<time>
elements on the page and format ones that are (somehow) marked as absolute.