local time format for event

This commit is contained in:
Ted Unangst 2019-10-02 21:04:44 -04:00
parent e3fdf87a00
commit 093d2028df
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ in reply to: <a href="{{ .RID }}" rel=noreferrer>{{ .RID }}</a>
<p>{{ .HTPrecis }}
<p>{{ .HTML }}
{{ with .Time }}
<p>Time: {{ .StartTime.Local }}
<p>Time: {{ .StartTime.Local.Format "03:04PM EDT Mon Jan 02"}}
{{ end }}
{{ with .Place }}
<p>Location: {{ with .Url }}<a href="{{ . }}" rel=noreferrer>{{ end }}{{ .Name }}{{ if .Url }}</a>{{ end }} <a href="https://www.openstreetmap.org/?mlat={{ .Latitude }}&mlon={{ .Longitude}}" rel=noreferrer>{{ .Latitude }} {{ .Longitude }}</a>