mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
Caldav: fix 3067915 getRangeCondition too restrictive
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1460 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
8a49d74078
commit
60ad472264
@ -2286,10 +2286,10 @@ public abstract class ExchangeSession {
|
||||
SimpleDateFormat parser = getZuluDateFormat();
|
||||
ExchangeSession.MultiCondition andCondition = and();
|
||||
if (timeRangeStart != null) {
|
||||
andCondition.add(gte("dtstart", formatSearchDate(parser.parse(timeRangeStart))));
|
||||
andCondition.add(gt("dtend", formatSearchDate(parser.parse(timeRangeStart))));
|
||||
}
|
||||
if (timeRangeEnd != null) {
|
||||
andCondition.add(lte("dtend", formatSearchDate(parser.parse(timeRangeEnd))));
|
||||
andCondition.add(lt("dtstart", formatSearchDate(parser.parse(timeRangeEnd))));
|
||||
}
|
||||
return andCondition;
|
||||
} catch (ParseException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user