Free Support Forum - aspose.com

Incorrect dates appearing when saving calendar through mapicalendar (Java)

I m using calendar.save method to save my calendar in .ics format but when i musing aspose.email jar 20.3 for java the timing is not correct but when i m using aspose 19.1 jar for java it is correct
The code is
MapiCalendar cal = (MapiCalendar) message.toMapiMessageItem();

cal.save(destination_path + File.separator + path + File.separator + countr
+ “Calendar.ics”, AppointmentSaveFormat.Ics);

@Harish2020,

I have observed the issue shared by you and request you to please share the source file and generated output reproducing the issue on your end.

okay file as requesedTesting.zip (3.9 MB)

output
2Calendar.zip (493 Bytes)

@Harish2020,

I have worked with the issue shared by you and have created an issue with ID EMAILJAVA-34682 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.