Browse Source

Remove debug prints

master
Alex Mikhalev 4 years ago
parent
commit
c7450f1cc5
  1. 5
      src/schedule.rs

5
src/schedule.rs

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

Loading…
Cancel
Save