mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
Caldav: Fix bug in Dav mode with broken events dtstart -> dtend
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1524 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
8f183cdd2c
commit
3d1c8abfd9
@ -1387,7 +1387,7 @@ public class DavExchangeSession extends ExchangeSession {
|
||||
// same on DTEND
|
||||
String dtend = getPropertyIfExists(davPropertySet, "dtend");
|
||||
if (dtend != null) {
|
||||
vEvent.setPropertyValue("DTEND", convertDateFromExchange(dtstart));
|
||||
vEvent.setPropertyValue("DTEND", convertDateFromExchange(dtend));
|
||||
} else {
|
||||
LOGGER.warn("missing dtend on item, using fake value. Set davmail.deleteBroken=true to delete broken events");
|
||||
vEvent.setPropertyValue("DTEND", "20000101T010000Z");
|
||||
|
Loading…
Reference in New Issue
Block a user