Skip to content

Fixes #2#25

Open
KayvonRanjbar wants to merge 2 commits intosf-wdi-25:masterfrom
KayvonRanjbar:fix_top_month_always_empty
Open

Fixes #2#25
KayvonRanjbar wants to merge 2 commits intosf-wdi-25:masterfrom
KayvonRanjbar:fix_top_month_always_empty

Conversation

@KayvonRanjbar
Copy link
Copy Markdown

No description provided.


@archives = article_counts.map do |entry|
month = (entry.month.to_i%12)+1
month = (entry.month.to_i%13)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please explain what %13 does, and how this resolves the issue.

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