Skip to content

Fix month sort#36

Open
KayvonRanjbar wants to merge 2 commits into
sf-wdi-25:masterfrom
KayvonRanjbar:fix_month_sort
Open

Fix month sort#36
KayvonRanjbar wants to merge 2 commits into
sf-wdi-25:masterfrom
KayvonRanjbar:fix_month_sort

Conversation

@KayvonRanjbar

Copy link
Copy Markdown

January was being created as February due to the %12 + 1 happening in lib/archives_sidebar/lib/archives_sidebar.rb#L33 and then being used in lib/archives_sidebar/lib/archives_sidebar.rb#L36. lib/archives_sidebar/app/views/archives_sidebar/_content.html.erb#L8 was changed so that the link would go to the correct place.

@nathanallen

Copy link
Copy Markdown
Contributor

Nice work! 👍

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