If I export a Google Calendar event that has same start time
and end time
, in the exported ics
file end date
and end time
don't show up.
This is the exported code of that event.
BEGIN:VEVENT
DTSTART:20191119T113000
DTSTAMP:20191118T112421
UID:[email protected]
CREATED:20191118T112249
DESCRIPTION:
LAST-MODIFIED:20191118T112249
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:one day only startTime
TRANSP:OPAQUE
END:VEVENT
Then, if I import this same event to Google Calendar, the imported event has an end time
which is 1 hour later than the start time
, when in the original event, they are the same. In this case 12:30.
How can I import event with start time
only.
This seems to be a bug. I created a bug for you in Google Issue Tracker. You can click the star on the top left in this page if you want to keep track of this issue.
As a workaround, I can think of different options:
(1) You can add the corresponding field DTEND
in the exported ics
file, with the same value as your DTSTART
:
DTEND:20191119T113000
In this way, when you import it to the Calendar, it has the correct end time
.
(2) Depending on why are you doing this import/export and what you want to accomplish, maybe using Calendar API could be useful for you? For example, with the API you could find the imported events and edit their end time accordingly.
I hope this is of any help.