Skip to content

Commit

Permalink
fix(Event): Remove moment dependency in constructor
Browse files Browse the repository at this point in the history
See #234
  • Loading branch information
sebbo2002 committed Mar 23, 2021
1 parent ce537f8 commit 8331d4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/event.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

import moment from 'moment-timezone';
import uuid from 'uuid-random';
import {
addOrGetCustomAttributes,
Expand Down Expand Up @@ -131,7 +130,7 @@ export default class ICalEvent {
end: null,
recurrenceId: null,
timezone: null,
stamp: moment(),
stamp: new Date(),
allDay: false,
floating: false,
repeating: null,
Expand Down

0 comments on commit 8331d4c

Please sign in to comment.