Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down