Skip to content

Commit

Permalink
Fix mistake in Schedule::includes (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
koenichiwa authored Feb 24, 2021
1 parent 7752df7 commit d0049fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl Schedule {
self.fields.days_of_month.includes(date_time.day() as Ordinal) &&
self.fields.hours.includes(date_time.hour() as Ordinal) &&
self.fields.minutes.includes(date_time.minute() as Ordinal) &&
self.fields.minutes.includes(date_time.second() as Ordinal)
self.fields.seconds.includes(date_time.second() as Ordinal)
}

/// Returns a [TimeUnitSpec](trait.TimeUnitSpec.html) describing the years included
Expand Down

0 comments on commit d0049fc

Please sign in to comment.