File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 77 Event ,
88 EventConfig ,
99 Calendar ,
10- } from ' https://deno.land/x/simple_ics@0.0.8 /mod.ts' ;
10+ } from ' https://deno.land/x/simple_ics@0.0.10 /mod.ts' ;
1111
1212const cfg1: EventConfig = {
1313 title: ' Write Typescript' ,
@@ -24,6 +24,10 @@ const cfg2: EventConfig = {
2424 freq: ' DAILY' ,
2525 count: 3 ,
2626 },
27+ alarm: {
28+ desc: ' Write Rust NOW' ,
29+ advance: 30 ,
30+ },
2731};
2832
2933const evt1 = new Event (cfg1 );
Original file line number Diff line number Diff line change @@ -41,13 +41,17 @@ Deno.test({
4141 } ;
4242
4343 const cfg2 : EventConfig = {
44- title : 'Write Rust for next 3 days' ,
44+ title : 'Write Rust for 3 days' ,
4545 beginDate : new Date ( ) ,
4646 duration : 3600 , // Duration: 3600s, or 1h
4747 rrule : {
4848 freq : 'DAILY' ,
4949 count : 3 ,
5050 } ,
51+ alarm : {
52+ desc : 'Write Rust NOW' ,
53+ advance : 30 ,
54+ } ,
5155 } ;
5256
5357 const evt1 = new Event ( cfg1 ) ;
You can’t perform that action at this time.
0 commit comments