From 22802f87e871488e3da577192c5c55cb89e4d6a7 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Tue, 31 Jan 2017 11:08:16 -0500 Subject: [PATCH] Merge pull request #1160 from TheGrits/patch-3 Fix gh-1159: Add 2017 to Teacher Registration --- src/components/registration/steps.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/registration/steps.jsx b/src/components/registration/steps.jsx index 433c2f04372..4029d1b4cc4 100644 --- a/src/components/registration/steps.jsx +++ b/src/components/registration/steps.jsx @@ -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}; }); },