Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

InnerBand/Core/Categories/NSDate+InnerBand.m updated #9

Merged
merged 1 commit into from about 1 year ago

2 participants

Sergey Tikhonov John Blanco
Sergey Tikhonov

dateByAddingWeeks wasn't using passed parameter

Sergey Tikhonov Update InnerBand/Core/Categories/NSDate+InnerBand.m
dateByAddingWeeks wasn't using passed parameter
c76bf6a
John Blanco ZaBlanc merged commit b2a0d93 into from February 20, 2013
John Blanco ZaBlanc closed this February 20, 2013
John Blanco
Owner

Yikes! Thanks!

Sergey Tikhonov haqu deleted the branch February 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 20, 2013
Sergey Tikhonov Update InnerBand/Core/Categories/NSDate+InnerBand.m
dateByAddingWeeks wasn't using passed parameter
c76bf6a
This page is out of date. Refresh to see the latest.
2  InnerBand/Core/Categories/NSDate+InnerBand.m
@@ -52,7 +52,7 @@ - (NSDate *)dateByAddingDays:(NSInteger)numDays {
52 52
 }
53 53
 
54 54
 - (NSDate *)dateByAddingWeeks:(NSInteger)numWeeks {
55  
-    return [self dateByAddingDays:DAYS_IN_WEEK * 2];
  55
+    return [self dateByAddingDays:DAYS_IN_WEEK * numWeeks];
56 56
 }
57 57
 
58 58
 - (NSDate *)dateByAddingMonths:(NSInteger)numMonths {
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.