Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
PeronGH committed Sep 7, 2022
1 parent 7e223b8 commit 0759626
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@ import {
Event,
EventConfig,
Calendar,
} from 'https://deno.land/x/[email protected].7/mod.ts';
} from 'https://deno.land/x/[email protected].8/mod.ts';

const cfg1: EventConfig = {
title: 'Write Typescript',
beginDate: [2022, 9, 6, 9, 30],
endDate: [2022, 9, 6, 10],
description: 'Implement a module to generate .ics files',
desc: 'Implement a module to generate .ics files',
};

const cfg2: EventConfig = {
title: 'Write Rust',
title: 'Write Rust for next 3 days',
beginDate: new Date(),
duration: 3600, // Duration: 3600s, or 1h
rrule: {
freq: 'DAILY',
count: 3,
},
};

const evt1 = new Event(cfg1);
Expand Down

0 comments on commit 0759626

Please sign in to comment.