Skip to content

Commit

Permalink
parsenormal1 acts only on string length >6
Browse files Browse the repository at this point in the history
  • Loading branch information
kengz committed Mar 5, 2016
1 parent 50dcf27 commit 870a4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tokenize.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function parseNormal1(str) {
}
}
// only consider a valid parse if the parsed str is long enough
if (head.length > 4) {
if (head.length > 6) {
tokensIn.push(normalDate);
// get head = <date> only, then reset
tokensOut.push(head)
Expand Down

0 comments on commit 870a4a7

Please sign in to comment.