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

Fixes Issue #2 and #3 #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anonym0us3
Copy link

Fixed issue #2

Since the articles are being parsed based on their created timestamp, and the year is not being monkeyed-about with, there's no reason for the code to monkey-about with the incoming month data either. Removed the random + and - 1's~~, as well as the unknown-purpose %12. Restart rails server and bob's-your-uncle.~~

Edit:

Upon further review, this also resolves issue #3 :

Removing the %12 fixes the disorder which was causing the months to appear out-of-order

anonym0us3 added 2 commits February 5, 2016 14:37
… incoming year is correct (and is NOT being messed with), the months should be treated accordingly
@anonym0us3 anonym0us3 changed the title Fixes Issue #2 Fixes Issue #2 and #3 Feb 5, 2016
@nathanallen
Copy link
Contributor

Excellent 👍

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

Successfully merging this pull request may close these issues.

2 participants