Skip to content

Commit

Permalink
Fixes incorrectly labeled months
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Zorn committed Sep 8, 2011
1 parent 92b4e9b commit 85c9b87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/SalesViewController.m
Expand Up @@ -429,6 +429,7 @@ - (NSString *)graphView:(GraphView *)graphView labelForXAxisAtIndex:(NSUInteger)
}
} else {
NSDateFormatter *monthFormatter = [[[NSDateFormatter alloc] init] autorelease];
[monthFormatter setTimeZone:[NSTimeZone timeZoneForSecondsFromGMT:0]];
[monthFormatter setDateFormat:@"MMM"];
if (showFiscalMonths) {
NSDate *date = [[self.sortedFiscalMonthReports objectAtIndex:index] startDate];
Expand Down

0 comments on commit 85c9b87

Please sign in to comment.