Browse files

Fixes incorrectly labeled months

  • Loading branch information...
1 parent 92b4e9b commit 85c9b871d839e6e694f1b286057230074a5d9791 Ole Zorn committed Sep 8, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Classes/SalesViewController.m
View
1 Classes/SalesViewController.m
@@ -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];

0 comments on commit 85c9b87

Please sign in to comment.