diff --git a/cmd/chat-cli/main.go b/cmd/chat-cli/main.go index f4594d3..c20efd0 100644 --- a/cmd/chat-cli/main.go +++ b/cmd/chat-cli/main.go @@ -539,11 +539,11 @@ func (a *App) pollLoop() { } func (a *App) handleServerMessage(msg *api.Message) { - ts := "" + var ts string if msg.TS != "" { t := msg.ParseTS() - ts = t.Local().Format("15:04") + ts = t.Local().Format("15:04") //nolint:gosmopolitan // CLI displays local time intentionally } else { ts = time.Now().Format("15:04") }