Account templates: use local time
authorMikael Berthe <mikael@lilotux.net>
Sun, 14 May 2017 11:26:04 +0200
changeset 138 04cc4b4f8862
parent 137 8fdaf5e1f8fc
child 139 c37290be4deb
Account templates: use local time
templates/ansi-account.tmpl
templates/themes/ansi-dark/account.tmpl
templates/themes/ansi/account.tmpl
--- a/templates/ansi-account.tmpl	Sun May 14 11:18:58 2017 +0200
+++ b/templates/ansi-account.tmpl	Sun May 14 11:26:04 2017 +0200
@@ -1,7 +1,7 @@
 - Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
   UID: {{color "red"}}{{.acct}}{{color "reset"}}
   Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
-  Date: {{.created_at}}
+  Date: {{.created_at | tolocal}}
   URL: {{color "cyan"}}{{.url}}{{color "reset"}}
   Statuses: {{.statuses_count}}
   Followers: {{.followers_count}}
--- a/templates/themes/ansi-dark/account.tmpl	Sun May 14 11:18:58 2017 +0200
+++ b/templates/themes/ansi-dark/account.tmpl	Sun May 14 11:26:04 2017 +0200
@@ -1,7 +1,7 @@
 - Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
   UID: {{color "red"}}{{.acct}}{{color "reset"}}
   Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
-  Date: {{.created_at}}
+  Date: {{.created_at | tolocal}}
   URL: {{color "cyan"}}{{.url}}{{color "reset"}}
   Statuses: {{.statuses_count}}
   Followers: {{.followers_count}}
--- a/templates/themes/ansi/account.tmpl	Sun May 14 11:18:58 2017 +0200
+++ b/templates/themes/ansi/account.tmpl	Sun May 14 11:26:04 2017 +0200
@@ -1,7 +1,7 @@
 - Account ID: {{color "red"}}{{printf "%.0f" .id}}{{color "reset"}}  {{color "magenta"}}@{{.username}}{{color "reset"}}
   UID: {{color "red"}}{{.acct}}{{color "reset"}}
   Display name: {{color "white,,bold"}}{{.display_name}}{{color "reset"}}
-  Date: {{.created_at}}
+  Date: {{.created_at | tolocal}}
   URL: {{color "cyan"}}{{.url}}{{color "reset"}}
   Statuses: {{.statuses_count}}
   Followers: {{.followers_count}}