summaryrefslogtreecommitdiff
path: root/web/template/profile.tmpl
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-10-02 15:54:42 +0200
committerLibravatar GitHub <noreply@github.com>2022-10-02 15:54:42 +0200
commitdeba75cad14f47bb42ea55e7d126d3adea7855a6 (patch)
treea83c673900d827bb8cc3bb4a4d60cc37651e91be /web/template/profile.tmpl
parentfix emojis not showing in spoiler text (#878) (diff)
downloadgotosocial-deba75cad14f47bb42ea55e7d126d3adea7855a6.tar.xz
[chore] Use shorter timestamps in frontend for replies (#875)
* rename timestampShort -> timestampVague * add ParseISO8601 * start fiddling with timestamp * pad/margin a bit more consistently * remove visibilty icon, change timestamp use * update timestamp logic * check + log errors * properly cut-off long display- and usernames Co-authored-by: f0x <f0x@cthu.lu>
Diffstat (limited to 'web/template/profile.tmpl')
-rw-r--r--web/template/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl
index 4c348d028..145ff95f4 100644
--- a/web/template/profile.tmpl
+++ b/web/template/profile.tmpl
@@ -21,7 +21,7 @@
</div>
</div>
<div class="accountstats">
- <div class="entry">Joined <b>{{.account.CreatedAt | timestampShort}}</b></div>
+ <div class="entry">Joined <b>{{.account.CreatedAt | timestampVague}}</b></div>
<div class="entry">Followed by <b>{{.account.FollowersCount}}</b></div>
<div class="entry">Following <b>{{.account.FollowingCount}}</b></div>
<div class="entry">Posted <b>{{.account.StatusesCount}}</b></div>