codeforamerica / follow-all

Follow all the members of a Twitter list with a single click
http://follow-all.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
81 stars 31 forks source link

add next year's (2015) fellows #20

Open techieshark opened 9 years ago

techieshark commented 9 years ago

Currently the lists generated for fellows is 2011 (FIRST_YEAR) through the current year (see sessions_helper.rb. That works usually, but when the fellows for the following year (2015) are announced in late 2014, they won't show up as a list.

The simplest 'fix' is adding +1 after Date.today.year but we'll probably also want a way to ensure that the list actually exists (otherwise, in January we'd have a 2016 list before the fellows have even applied).

techieshark commented 9 years ago

@drewrwilson suggested a simple hack: only include a list for next year if the current date is after 11/15. What do you think, @sferik?