allowing customized year parsing
fixing jshint errors
Merge pull request #1545 from icambron/abstracted-year-parsing

Allow customized two-digit-year parsing