Absolute times always render in UTC #102
Labels
No Label
admins only
bug
design
duplicate
gimme feedback
good first issue
hmmmm
invalid
reference
wontfix
No Milestone
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hmn/hmn#102
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.