diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/iter.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/iter.rs b/src/iter.rs index 4923325..b9c1560 100644 --- a/src/iter.rs +++ b/src/iter.rs @@ -270,6 +270,10 @@ pub fn not_empty<T>(v: &Vec<T>) -> bool { } pub fn is_filtered(ii: &IterInfo, current_day: usize, options: &ParsedOptions) -> bool { + println!( + "Was filtered here: {}", + (not_empty(&options.byweekno) && (ii.wnomask().unwrap()[current_day]) == 0) + ); return (not_empty(&options.bymonth) && !includes(&options.bymonth, &ii.mmask().unwrap()[current_day])) || (not_empty(&options.byweekno) && (ii.wnomask().unwrap()[current_day]) == 0) |