Skip to content

Commit

Permalink
Merge pull request #1160 from TheGrits/patch-3
Browse files Browse the repository at this point in the history
Fix gh-1159: Add 2017 to Teacher Registration
  • Loading branch information
rschamp authored and mewtaylor committed Feb 1, 2017
1 parent ca09855 commit 22802f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/registration/steps.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ module.exports = {
},
getYearOptions: function () {
return Array.apply(null, Array(100)).map(function (v, id) {
var year = 2016 - id;
var year = new Date().getFullYear() - id;
return {value: year, label: year};
});
},
Expand Down

0 comments on commit 22802f8

Please sign in to comment.