summaryrefslogtreecommitdiff
path: root/src/rrulestr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rrulestr.rs')
-rw-r--r--src/rrulestr.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rrulestr.rs b/src/rrulestr.rs
index bf616ba..ee465cd 100644
--- a/src/rrulestr.rs
+++ b/src/rrulestr.rs
@@ -762,4 +762,15 @@ mod test {
.collect();
assert_eq!(instances.len(), 0);
}
+
+ #[test]
+ fn daytime_savings() {
+ let rrule: RRule =
+ "DTSTART;TZID=America/Vancouver:20210301T022210\nRRULE:FREQ=DAILY;COUNT=30"
+ .parse()
+ .unwrap();
+
+ println!("{:?}", rrule.options);
+ println!("Found occurances: {:?}", rrule.all());
+ }
}