aMoL Thite
aMoL Thite

Reputation: 970

Vcalendar shows a minute time difference in Outlook Desktop Application

I'm trying to create vcalendar file using the PHP script. The vcalendar file get generated correctly and recognized by the Gmail and Outlook Web application but whenever I try to open the vcalendar file in outlook Desktop Application it adds one extra minute in the start and end date. I have check this file on different machines but the issue is still there. I have added the vcalendar code for reference.

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
TRANSP:OPAQUE
BEGIN:VEVENT
UID:48a00c6d5deac25dd6e1307538f1a51a
DTSTAMP:20180824T112806Z
DTSTART:20180824T112812Z
DTEND:20180824T132812Z
ORGANIZER;CN=nameoforganizer:mailto:[email protected]
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;
 CN=name;X-NUM-GUESTS=0:mailto:[email protected];
SUMMARY:summary goes here   
DESCRIPTION:blah blah
END:VEVENT
END:VCALENDAR

Can you please help me to figure out what is wrong here!

Upvotes: 3

Views: 120

Answers (1)

aMoL Thite
aMoL Thite

Reputation: 970

Got a solution to this problem. Actually the problem is with the outlook the desktop app it rounds up the second according to value. Ex. if I have a time like 15:30:40 then outlook consider it as 15:31:00 and 15:30:25 to 15:30:00.

Removing the seconds from the time stamp resolved the problem.

Upvotes: 1

Related Questions