all repos — honk @ 97c0c3efc6704e216ee0aeeaedc421859f4bdad1

my fork of honk

easier to comprehend timestamps in local time
Ted Unangst tedu@tedunangst.com
Mon, 04 Nov 2019 18:14:40 -0500
commit

97c0c3efc6704e216ee0aeeaedc421859f4bdad1

parent

6a023c68af35f481cc88e2679b4945343e493a0e

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M docs/changelog.txtdocs/changelog.txt

@@ -2,6 +2,8 @@ changelog

-- next ++ Timestamps displayed in server time with TZ. + + Version string in binary. ++ Make it easier to upgrade by decoupling data dir from ".".
M views/honk.htmlviews/honk.html

@@ -25,7 +25,7 @@ <a class="honkerlink" href="/h?xid={{ .Honker }}" data-xid="{{ .Honker }}">{{ .Username }}</a>

{{ else }} <a href="{{ .Honker }}" rel=noreferrer>{{ .Username }}</a> {{ end }} -<span class="clip"><a href="{{ .URL }}" rel=noreferrer>{{ .What }}</a> {{ .Date.Format "02 Jan 2006 15:04" }}</span> +<span class="clip"><a href="{{ .URL }}" rel=noreferrer>{{ .What }}</a> {{ .Date.Local.Format "02 Jan 2006 15:04 -0700" }}</span> {{ if .Oonker }} <br> <span style="margin-left: 1em;" class="clip">