correct timezone in time format string
Ted Unangst tedu@tedunangst.com
Sun, 11 Feb 2024 18:17:00 -0500
2 files changed,
2 insertions(+),
2 deletions(-)
M
views/honk.html
→
views/honk.html
@@ -56,7 +56,7 @@ <summary class="noise">{{ .HTPrecis }}<p></summary>
<p>{{ .HTPrecis }} <p class="content">{{ .HTML }} {{ with .Time }} -<p>Time: {{ .StartTime.Local.Format "03:04PM EDT Mon Jan 02"}} +<p>Time: {{ .StartTime.Local.Format "03:04PM MST Mon Jan 02"}} {{ if .Duration }}<br>Duration: {{ .Duration }}{{ end }}</p> {{ end }} {{ with .Place }}
M
web.go
→
web.go
@@ -276,7 +276,7 @@ continue
} desc := string(honk.HTML) if t := honk.Time; t != nil { - desc += fmt.Sprintf(`<p>Time: %s`, t.StartTime.Local().Format("03:04PM EDT Mon Jan 02")) + desc += fmt.Sprintf(`<p>Time: %s`, t.StartTime.Local().Format("03:04PM MST Mon Jan 02")) if t.Duration != 0 { desc += fmt.Sprintf(`<br>Duration: %s`, t.Duration) }