diff --git a/schedule.go b/schedule.go index 1bb45b4..58aeef0 100644 --- a/schedule.go +++ b/schedule.go @@ -94,7 +94,9 @@ L: } } - return t.In(origLoc) + return t. + Truncate(time.Minute). + In(origLoc) } // Next returns the previous time matched with the expression. @@ -180,7 +182,9 @@ L: } } - return t.In(origLoc) + return t. + Truncate(time.Minute). + In(origLoc) } // dayMatches returns true if the schedule's day-of-week and day-of-month