diff options
author | Fredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local> | 2021-02-15 16:24:44 +0100 |
---|---|---|
committer | Fredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local> | 2021-02-15 16:24:44 +0100 |
commit | 895a3ba695ce168ad73c9dac4724a98ee3c1bc76 (patch) | |
tree | da05bea4a7742a8936624501badd628137cc29e2 /src/rrulestr.rs | |
parent | 8cc0d3ac0f8e7030ff40958ffe63f76087c0c00e (diff) | |
download | rust_rrule-895a3ba695ce168ad73c9dac4724a98ee3c1bc76.zip |
bug fix DST
Diffstat (limited to 'src/rrulestr.rs')
-rw-r--r-- | src/rrulestr.rs | 11 |
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()); + } } |