Remove debug prints
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Alex Mikhalev 2020-09-18 17:02:06 -06:00
parent a56da9b9e0
commit c7450f1cc5

View File

@ -136,10 +136,6 @@ impl Schedule {
_ => reference, _ => reference,
} }
.clone(); .clone();
println!(
"resolved to: {:?}, from: {:?}, reference: {:?}",
to, &from, reference
);
let mut next_run: Option<DateTime<Tz>> = None; let mut next_run: Option<DateTime<Tz>> = None;
for weekday in &self.weekdays { for weekday in &self.weekdays {
for time in &self.times { for time in &self.times {
@ -152,7 +148,6 @@ impl Schedule {
date date
} }
}); });
println!("trying date: {:?}", candidate);
let candidate = match (candidate, &to) { let candidate = match (candidate, &to) {
(Some(date), Some(to)) if &date > to => None, (Some(date), Some(to)) if &date > to => None,
(date, _) => date, (date, _) => date,