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

Fix fy #399

Merged
merged 2 commits into from
Apr 20, 2017
Merged

Fix fy #399

merged 2 commits into from
Apr 20, 2017

Conversation

jgreben
Copy link
Contributor

@jgreben jgreben commented Apr 20, 2017

We had the wrong fiscal year defined. It should be xxxx-09-01 to xxxx-08-31, and the first date should be the last calendar year (i.e. FY2017 should be 2016-09-01 to 2017-08-31)

@jgreben
Copy link
Contributor Author

jgreben commented Apr 20, 2017

@dlrueda please review and merge when you get a chance.

@dlrueda
Copy link
Contributor

dlrueda commented Apr 20, 2017

This logic won't work (I don't think) for the months September-December, when the year should be the SAME year as current date (for beginning date), not subtract one year. Also the end date will have to have a year added to it during Sept-Dec.

But this will work for the immediate fix. We need an issue to either set the year depending on what the current date is, or refactor to fiscal year lookup. I will have Rita ask the Acq folks which makes more sense.

@dlrueda dlrueda merged commit 28d615e into master Apr 20, 2017
@dlrueda
Copy link
Contributor

dlrueda commented Apr 20, 2017

Actually, I looked at the form, and the selection is for fiscal year (nothing about dates). So I'll add an issue to refactor this to actually use the fiscal year column in that table.

@jgreben
Copy link
Contributor Author

jgreben commented Apr 20, 2017 via email

@dlrueda
Copy link
Contributor

dlrueda commented Apr 21, 2017

Sorry, mis-understood the code. Was thinking you were looking at current date, not at fiscal year chosen. Thanks for straightening me out!

@shelleydoljack shelleydoljack deleted the fix-fy branch July 5, 2017 19:13
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

Successfully merging this pull request may close these issues.

3 participants