2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-11-10 11:31:58 +08:00

Fix history command

This commit is contained in:
Ken Hibino 2020-07-28 22:00:54 -07:00
parent 5f06c308f0
commit e8fdbc5a72

View File

@ -63,7 +63,7 @@ func printDailyStats(stats []*asynq.DailyStats) {
} else {
errrate = fmt.Sprintf("%.2f%%", float64(s.Failed)/float64(s.Processed)*100)
}
fmt.Fprintf(tw, format, s.Time.Format("2006-01-02"), s.Processed, s.Failed, errrate)
fmt.Fprintf(tw, format, s.Date.Format("2006-01-02"), s.Processed, s.Failed, errrate)
}
tw.Flush()
}