Skip to content

Commit

Permalink
Re-implement past paper dynamic limit
Browse files Browse the repository at this point in the history
Signed-off-by: CyberFlame <[email protected]>
  • Loading branch information
CyberFlameGO authored Jun 6, 2024
1 parent 37f1743 commit 1da273c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nzqa_lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function lookup(
let year: number = currentYear - 2;
var yearDefault: boolean = true;

if (paperYear && paperYear >= /* currentYear - 3 */ 2012 && paperYear <= currentYear) {
if (paperYear && paperYear >= currentYear - 3 && paperYear <= currentYear) {
year = paperYear;
yearDefault = false;
}
Expand Down

0 comments on commit 1da273c

Please sign in to comment.