diff --git a/workers.go b/workers.go index 653466e..8a3fbe5 100644 --- a/workers.go +++ b/workers.go @@ -504,7 +504,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { if cwm.RealTime.After(m.Date.Add(5*time.Minute)) || cwm.RealTime.Before(m.Date.Add(5*time.Minute)) { w := TGCommand{ Type: commandSendMsg, - Text: fmt.Sprintf("Date drifting %v => %v\n", m.Date, cwm.RealTime-m.Date), + Text: fmt.Sprintf("Date drifting %v => %v\n", m.Date, cwm.RealTime.Sub(m.Date)), ToUserID64: cfg.Bot.Admin, } TGCmdQueue <- w