diff options
author | RunasSudo <runassudo@yingtongli.me> | 2017-03-10 20:03:22 +1100 |
---|---|---|
committer | RunasSudo <runassudo@yingtongli.me> | 2017-03-10 20:03:22 +1100 |
commit | eac979e2e618182b10fb178a9e3a459442be6615 (patch) | |
tree | e29f1638bd493bd0d1873c5dfdd38435c87d31c6 | |
parent | dbec55f3706665dc05ad4961b08c1d4d91e6ecf2 (diff) |
Automatically detect year
-rw-r--r-- | allocics.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/allocics.js b/allocics.js index a8c17f3..60900a3 100644 --- a/allocics.js +++ b/allocics.js @@ -40,7 +40,7 @@ // ALLOCATE+ STUFF - var YEAR = 2017; // TODO: Automatically detect this + var YEAR = new Date().getFullYear(); // WARNING! May not give the expected result in strange edge-cases // Set to all weeks timetableAllWeeks(); |