mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix whole-day calendar detection test, and expand it to handle a few more cases too
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -303,7 +303,7 @@ public class CalendarEntryDTO implements CalendarEntry, Serializable
|
||||
startLocal.setTime(entry.getStart());
|
||||
endLocal.setTime(entry.getEnd());
|
||||
|
||||
// Check for midnight, first in UTC then again in Local time
|
||||
// Check for midnight, first in UTC then again in Server Local Time
|
||||
Calendar[] starts = new Calendar[] { startUTC, startLocal };
|
||||
Calendar[] ends = new Calendar[] { endUTC, endLocal };
|
||||
for(int i=0; i<starts.length; i++)
|
||||
|
Reference in New Issue
Block a user