react-add-to-calendar-hoc icon indicating copy to clipboard operation
react-add-to-calendar-hoc copied to clipboard

ICal and Outlook Calendar not work for me . The link not open

Open oliver9321 opened this issue 3 years ago • 0 comments

Bug report

    const provider = description;
    const momentStartDate = moment(startDatetime);
    const startTime = momentStartDate.format('YYYYMMDDTHHmmssZ');
    const endTime = moment(endDatetime).format('YYYYMMDDTHHmmssZ');

    const event = {
        title: "Appointment - " + location,
        description: "Appointment with " + provider,
        location: location,
        duration: startTime === endTime && '0100',
        startDatetime: startTime.substring(0, startTime.indexOf('-')),
        endDatetime: endTime.substring(0, endTime.indexOf('-'))
    };

System information

  • OS: Windows

Additional context

Add any other context about the problem here.

oliver9321 avatar Dec 13 '21 14:12 oliver9321