Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fiscal months not handled for 2016 and + #282

Open
henry63 opened this issue Mar 12, 2016 · 7 comments
Open

fiscal months not handled for 2016 and + #282

henry63 opened this issue Mar 12, 2016 · 7 comments

Comments

@henry63
Copy link

henry63 commented Mar 12, 2016

fiscal months are not handled for 2016 and above

@githubgitgit
Copy link

Same problem. Amounts are accumulating in February 2016.

@acroedit
Copy link

Same problem.

@Bennsen84
Copy link

same here. maybe it´s something wrong with the leap-year?

@henry63
Copy link
Author

henry63 commented Mar 19, 2016

I found a fix - AppleFiscalCalendar.m, line 35 : while (period < 100) . Replace 100 (number of month since 2008) with a larger figure (eg 120)

@Bennsen84
Copy link

perfect @henry63 ! works again for me ;) thanks a lot

@nicolasgomollon
Copy link

It seems like this repo is quickly becoming obsolete, so I’ve gone ahead and forked my own that includes a fix for this issue, and many more at nicolasgomollon/AppSales-Mobile. I recommend you guys check it out!

@AndreiArdelean1
Copy link

In AppleFiscalCalendar.m, line 35 replace while (period < 100) with while (period < 100 || [currentDate timeIntervalSinceNow] < 10 * 7 * 24 * 60 * 60)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants