mirror of
https://github.com/ultrasn0w/huso.git
synced 2025-12-15 19:49:53 +01:00
One does not simply: time
This commit is contained in:
@@ -38,8 +38,8 @@ func Arbeit() {
|
|||||||
} else {
|
} else {
|
||||||
cleared++
|
cleared++
|
||||||
}
|
}
|
||||||
} else if a.Time.Add(time.Hour).Before(time.Now()) {
|
} else if a.Time.Before(time.Now()) && a.Time.Add(time.Hour).After(time.Now()) {
|
||||||
// This is happening soon
|
// This has not happened and is happening soon
|
||||||
AnnounceAppointmentSoon(&a)
|
AnnounceAppointmentSoon(&a)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user