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 {
|
||||
cleared++
|
||||
}
|
||||
} else if a.Time.Add(time.Hour).Before(time.Now()) {
|
||||
// This is happening soon
|
||||
} else if a.Time.Before(time.Now()) && a.Time.Add(time.Hour).After(time.Now()) {
|
||||
// This has not happened and is happening soon
|
||||
AnnounceAppointmentSoon(&a)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user