summaryrefslogtreecommitdiff
path: root/src/iterinfo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/iterinfo.rs')
-rw-r--r--src/iterinfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterinfo.rs b/src/iterinfo.rs
index dbc6e24..083d4fa 100644
--- a/src/iterinfo.rs
+++ b/src/iterinfo.rs
@@ -219,7 +219,7 @@ impl<'a> IterInfo<'a> {
Frequenzy::MONTHLY => self.mdayset(month),
Frequenzy::WEEKLY => self.wdayset(year, month, day),
Frequenzy::DAILY => self.ddayset(year, month, day),
- _ => panic!("Invalid freq"),
+ _ => self.ddayset(year, month, day),
}
}