Skip to content

Commit 0759626

Browse files
committed
update doc
1 parent 7e223b8 commit 0759626

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,23 @@ import {
77
Event,
88
EventConfig,
99
Calendar,
10-
} from 'https://deno.land/x/[email protected].7/mod.ts';
10+
} from 'https://deno.land/x/[email protected].8/mod.ts';
1111

1212
const cfg1: EventConfig = {
1313
title: 'Write Typescript',
1414
beginDate: [2022, 9, 6, 9, 30],
1515
endDate: [2022, 9, 6, 10],
16-
description: 'Implement a module to generate .ics files',
16+
desc: 'Implement a module to generate .ics files',
1717
};
1818

1919
const cfg2: EventConfig = {
20-
title: 'Write Rust',
20+
title: 'Write Rust for next 3 days',
2121
beginDate: new Date(),
2222
duration: 3600, // Duration: 3600s, or 1h
23+
rrule: {
24+
freq: 'DAILY',
25+
count: 3,
26+
},
2327
};
2428

2529
const evt1 = new Event(cfg1);

0 commit comments

Comments
 (0)