Skip to content

Commit

Permalink
Fixes initWithSunday:timeZone: ignoring timeZone argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
defragged committed May 28, 2013
1 parent 02b2b18 commit 0c87ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TapkuLibrary/TKCalendarMonthViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ - (id) initWithSunday:(BOOL)sundayFirst{
return self;
}
- (id) initWithTimeZone:(NSTimeZone *)timeZone{
self = [self initWithSunday:[[NSCalendar currentCalendar]firstWeekday] == 1 timeZone:self.timeZone];
self = [self initWithSunday:[[NSCalendar currentCalendar]firstWeekday] == 1 timeZone:timeZone];
return self;
}
- (id) initWithSunday:(BOOL)sundayFirst timeZone:(NSTimeZone *)timeZone{
Expand Down

0 comments on commit 0c87ada

Please sign in to comment.