1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

Caldav: drop timezone when converting allday events to client

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@961 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-03-19 10:32:29 +00:00
parent 07768b1a78
commit 3630bb5ef2

View File

@ -1904,7 +1904,7 @@ public class ExchangeSession {
throw new DavMailException("EXCEPTION_INVALID_ICS_LINE", line);
}
String dateValue = line.substring(valueIndex + 1, valueEndIndex);
String key = line.substring(0, Math.max(keyIndex, valueIndex));
String key = line.substring(0, Math.min(keyIndex, valueIndex));
return key + ";VALUE=DATE:" + dateValue;
}