From f9ab84ef40954cb75da75f711ecb884142949c9b Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Wed, 22 Apr 2020 07:05:45 +1000 Subject: [PATCH] docs: Fix simple typo, proprocessed -> preprocessed There is a small typo in dist/date.js, lib/parser.js. Should read `preprocessed` rather than `proprocessed`. --- dist/date.js | 2 +- lib/parser.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/date.js b/dist/date.js index 5b3e49d..983f984 100644 --- a/dist/date.js +++ b/dist/date.js @@ -1255,7 +1255,7 @@ function parser (str, offset) { // console.log(prepro) // reset the str to prepro str str = prepro.str - // if proprocessed doesn't leave any str to be processed (non-date-time) format, check normals + // if preprocessed doesn't leave any str to be processed (non-date-time) format, check normals if (!str) { if (prepro.normals.length) { // if there's normal date parsed already, diff --git a/lib/parser.js b/lib/parser.js index eda23af..f9d3ec3 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -54,7 +54,7 @@ function parser (str, offset) { // console.log(prepro) // reset the str to prepro str str = prepro.str - // if proprocessed doesn't leave any str to be processed (non-date-time) format, check normals + // if preprocessed doesn't leave any str to be processed (non-date-time) format, check normals if (!str) { if (prepro.normals.length) { // if there's normal date parsed already,