Skip to content

Commit

Permalink
make REFERENCE_YEAR dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
dwolfhub committed Feb 5, 2017
1 parent d0d7689 commit 7b43153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scoring.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ scoring =
base_guesses * match.token.length

MIN_YEAR_SPACE: 20
REFERENCE_YEAR: 2017
REFERENCE_YEAR: new Date().getFullYear()

regex_guesses: (match) ->
char_class_bases =
Expand Down

0 comments on commit 7b43153

Please sign in to comment.