Skip to content

Fixes Issue #2 and #3#38

Open
anonym0us3 wants to merge 2 commits into
sf-wdi-25:masterfrom
anonym0us3:emptybranch
Open

Fixes Issue #2 and #3#38
anonym0us3 wants to merge 2 commits into
sf-wdi-25:masterfrom
anonym0us3:emptybranch

Conversation

@anonym0us3

Copy link
Copy Markdown

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
Copy Markdown
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