]> err.no Git - sope/commitdiff
fix to NGCalendarDateRange
authorznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 23 Aug 2004 15:44:29 +0000 (15:44 +0000)
committerznek <znek@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Mon, 23 Aug 2004 15:44:29 +0000 (15:44 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@43 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-core/NGExtensions/ChangeLog
sope-core/NGExtensions/NGCalendarDateRange.m
sope-core/NGExtensions/NGExtensions.xcode/project.pbxproj
sope-core/NGExtensions/Version

index 645472bb907de226bd7317c9b5148379fc4e7fe5..aeb1eef189db6a89a5ef6c47ce61804cc77f9fcb 100644 (file)
@@ -1,4 +1,10 @@
-2004-08-16  Marcus Mueller  <znek@mulle-kybernetik.com>
+2004-08-22  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+       * v4.3.106
+
+       * NGCalendarDateRange.m: changed -containsDate: in a way that the range
+         is treated as a half-open interval (including startDate, excluding
+         endDate). 
 
        * v4.3.105
 
index 74e5ce7ee245d4794c9d4dd1fe03b87048c2cec3..1bb488640bbb2e231c721357f2dfe295d5457ca3 100644 (file)
 }
 
 - (BOOL)containsDate:(NSCalendarDate *)date {
+  if([self->endDate isEqualToDate:date])
+      return NO;
   return ([self->startDate earlierDate:date] == self->startDate && 
          [self->endDate laterDate:date] == self->endDate) ? YES : NO;
 }
index b57b4c50f6dd77662d82ba949b24a4ac7310ed0f..916781d80cf438875fb6ef464145867cc09ef0be 100644 (file)
                        );
                        buildSettings = {
                                DYLIB_COMPATIBILITY_VERSION = 1;
-                               DYLIB_CURRENT_VERSION = 4.3.105;
+                               DYLIB_CURRENT_VERSION = 4.3.106;
                                FRAMEWORK_SEARCH_PATHS = "\"$(LOCAL_LIBRARY_DIR)/Frameworks\" /Local/BuildArea";
                                FRAMEWORK_VERSION = A;
                                GCC_PRECOMPILE_PREFIX_HEADER = YES;
index d247db9fc353448ceb31995cde6cca7cde7f4363..b12aa9c0a7efb46214afa293e370189eb53871c3 100644 (file)
@@ -1,5 +1,5 @@
 # $Id$
 
-SUBMINOR_VERSION:=105
+SUBMINOR_VERSION:=106
 
 # v4.2.72 requires libEOControl v4.2.39