Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fiscal Calendar Fix #118

Merged
merged 1 commit into from

2 participants

@emlombardo

Fixes issue #117

The fiscal calendar entries were off by one day (and one by three days).

@evands evands merged commit 11f9831 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 29, 2011
  1. @emlombardo
This page is out of date. Refresh to see the latest.
Showing with 36 additions and 36 deletions.
  1. +36 −36 Classes/AppleFiscalCalendar.m
View
72 Classes/AppleFiscalCalendar.m
@@ -16,42 +16,42 @@ - (id)init
self = [super init];
if (self) {
sortedDateStrings = [[NSArray alloc] initWithObjects:
- @"20080928", // Oct 2008
- @"20081102", // Nov 2008
- @"20081130", // Dec 2008
- @"20081228", // Jan 2009
- @"20090201", // Feb 2009
- @"20090301", // Mar 2009
- @"20090329", // Apr 2009
- @"20090503", // May 2009
- @"20090531", // Jun 2009
- @"20090628", // Jul 2009
- @"20090802", // Aug 2009
- @"20090830", // Sep 2009
- @"20090927", // Oct 2009
- @"20091101", // Nov 2009
- @"20091129", // Dec 2009
- @"20091227", // Jan 2010
- @"20100131", // Feb 2010
- @"20100228", // Mar 2010
- @"20100328", // Apr 2010
- @"20100502", // May 2010
- @"20100530", // Jun 2010
- @"20100629", // Jul 2010
- @"20100801", // Aug 2010
- @"20100829", // Sep 2010
- @"20100926", // Oct 2010
- @"20101031", // Nov 2010
- @"20101128", // Dec 2010
- @"20101226", // Jan 2011
- @"20110130", // Feb 2011
- @"20110227", // Mar 2011
- @"20110327", // Apr 2011
- @"20110501", // May 2011
- @"20110529", // Jun 2011
- @"20110626", // Jul 2011
- @"20110731", // Aug 2011
- @"20110828", // Sep 2011
+ @"20080927", // Oct 2008
+ @"20081101", // Nov 2008
+ @"20081129", // Dec 2008
+ @"20081227", // Jan 2009
+ @"20090131", // Feb 2009
+ @"20090228", // Mar 2009
+ @"20090328", // Apr 2009
+ @"20090502", // May 2009
+ @"20090530", // Jun 2009
+ @"20090627", // Jul 2009
+ @"20090801", // Aug 2009
+ @"20090829", // Sep 2009
+ @"20090926", // Oct 2009
+ @"20091031", // Nov 2009
+ @"20091128", // Dec 2009
+ @"20091226", // Jan 2010
+ @"20100130", // Feb 2010
+ @"20100227", // Mar 2010
+ @"20100327", // Apr 2010
+ @"20100501", // May 2010
+ @"20100529", // Jun 2010
+ @"20100626", // Jul 2010
+ @"20100731", // Aug 2010
+ @"20100828", // Sep 2010
+ @"20100925", // Oct 2010
+ @"20101030", // Nov 2010
+ @"20101127", // Dec 2010
+ @"20101225", // Jan 2011
+ @"20110129", // Feb 2011
+ @"20110226", // Mar 2011
+ @"20110326", // Apr 2011
+ @"20110430", // May 2011
+ @"20110528", // Jun 2011
+ @"20110625", // Jul 2011
+ @"20110730", // Aug 2011
+ @"20110827", // Sep 2011
nil];
const NSUInteger numSortedDates = [sortedDateStrings count];
Something went wrong with that request. Please try again.