chore: simplify
This commit is contained in:
parent
04647695c8
commit
360c30a523
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ func for24hrs() time.Time {
|
|||
}
|
||||
|
||||
func untilEndOfTomorrow() time.Time {
|
||||
return now.With(time.Now()).EndOfDay().Add(time.Nanosecond).AddDate(0, 0, 1)
|
||||
return now.BeginningOfDay().AddDate(0, 0, 2)
|
||||
}
|
||||
|
||||
func ratesValid(rr api.Rates, until time.Time) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue