fix display for jobpillage
This commit is contained in:
parent
2a876195a9
commit
6a79a5c447
2
job.go
2
job.go
@ -371,7 +371,7 @@ func jobPillage(j Job) {
|
|||||||
|
|
||||||
// is the job outdated now ?
|
// is the job outdated now ?
|
||||||
if time.Now().UTC().After(r.Date.Add(time.Minute*3 + time.Second*30)) {
|
if time.Now().UTC().After(r.Date.Add(time.Minute*3 + time.Second*30)) {
|
||||||
log.Print("jobPillage :\n\tPillageTime : %s\n\tNowTime : %s\n", r.Date.Format(time.RFC3339), time.Now().UTC().Format(time.RFC3339))
|
log.Printf("jobPillage :\n\tPillageTime : %s\n\tNowTime : %s\n", r.Date.Format(time.RFC3339), time.Now().UTC().Format(time.RFC3339))
|
||||||
s := TGCommand{
|
s := TGCommand{
|
||||||
Type: commandSendMsg,
|
Type: commandSendMsg,
|
||||||
Text: fmt.Sprintf("Pillage interception expired"),
|
Text: fmt.Sprintf("Pillage interception expired"),
|
||||||
|
Loading…
Reference in New Issue
Block a user