]> cat aescling's git repositories - mastodon.git/commit
Improve relative timestamps in web UI (#7233)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 22 Apr 2018 22:43:53 +0000 (00:43 +0200)
committerGitHub <noreply@github.com>
Sun, 22 Apr 2018 22:43:53 +0000 (00:43 +0200)
commit660cb058e18f8607a0044b5a89614e1caeb07ed9
tree90bba48f9ad88c16afe90bc28b7863f2a3010768
parent05fb6f096db7c58698f8e0bc7fc79e129b241176
Improve relative timestamps in web UI (#7233)

Use short instead of numeric month, display year when different year

E.g.: "Apr 4" instead of "4/4", "Apr 4, 2017" if different year
app/javascript/mastodon/components/relative_timestamp.js