Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update InnerBand/Core/Categories/NSDate+InnerBand.m

dateByAddingWeeks wasn't using passed parameter
  • Loading branch information...
commit c76bf6a44c622cd667b84d740b1f0b9eda46a79c 1 parent 935a920
@haqu haqu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  InnerBand/Core/Categories/NSDate+InnerBand.m
View
2  InnerBand/Core/Categories/NSDate+InnerBand.m
@@ -52,7 +52,7 @@ - (NSDate *)dateByAddingDays:(NSInteger)numDays {
}
- (NSDate *)dateByAddingWeeks:(NSInteger)numWeeks {
- return [self dateByAddingDays:DAYS_IN_WEEK * 2];
+ return [self dateByAddingDays:DAYS_IN_WEEK * numWeeks];
}
- (NSDate *)dateByAddingMonths:(NSInteger)numMonths {
Please sign in to comment.
Something went wrong with that request. Please try again.