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:
mguessan 2010-11-03 22:58:56 +00:00
parent 8f183cdd2c
commit 3d1c8abfd9
1 changed files with 1 additions and 1 deletions

View File

@ -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");