Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
PeronGH committed Sep 7, 2022
1 parent e189fa4 commit b25ff6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 41,10 @@ export class Event {
const uid = crypto.randomUUID();
const { title } = this.config;

const now = new Date();

return [
eventBegin,
['UID', uid],
['DTSTAMP', parseDate(now)],
['DTSTAMP', parseDate(new Date())],
['DTSTART', parseDate(this.config.beginDate)],
['DTEND', parseDate(this.config.endDate!)],
['SUMMARY', title],
Expand Down

0 comments on commit b25ff6b

Please sign in to comment.