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