aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/users.html
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-02-04 14:37:42 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-02-04 14:37:42 -0800
commitb5b1930599190e2d7a6613db8779d9bbb970a1f7 (patch)
treec7a9bb8a7e64b04ed23ac1f052f49ec0c79cb34f /template/html/users.html
parent61bc012a6284f90001b2339ecfdfb5b96e38be10 (diff)
Take timezone into consideration when calculating relative time
Diffstat (limited to 'template/html/users.html')
-rw-r--r--template/html/users.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/html/users.html b/template/html/users.html
index 7fd7e47..8bffc2f 100644
--- a/template/html/users.html
+++ b/template/html/users.html
@@ -39,7 +39,7 @@
<td>{{ if eq .IsAdmin true }}{{ t "Yes" }}{{ else }}{{ t "No" }}{{ end }}</td>
<td>
{{ if .LastLoginAt }}
- <time datetime="{{ isodate .LastLoginAt }}" title="{{ isodate .LastLoginAt }}">{{ elapsed .LastLoginAt }}</time>
+ <time datetime="{{ isodate .LastLoginAt }}" title="{{ isodate .LastLoginAt }}">{{ elapsed $.user.Timezone .LastLoginAt }}</time>
{{ else }}
{{ t "Never" }}
{{ end }}