Fix all lint/build issues on main branch (closes #13) #15

Closed
clawbot wants to merge 22 commits from fix/main-lint-issues into main
Showing only changes of commit d8c63640f5 - Show all commits

View File

@@ -539,11 +539,11 @@ func (a *App) pollLoop() {
} }
func (a *App) handleServerMessage(msg *api.Message) { func (a *App) handleServerMessage(msg *api.Message) {
ts := "" var ts string
if msg.TS != "" { if msg.TS != "" {
t := msg.ParseTS() t := msg.ParseTS()
ts = t.Local().Format("15:04") ts = t.Local().Format("15:04") //nolint:gosmopolitan // CLI displays local time intentionally
} else { } else {
ts = time.Now().Format("15:04") ts = time.Now().Format("15:04")
} }