Skip to content

Commit

Permalink
docs: update README.md (#1154)
Browse files Browse the repository at this point in the history
fixed a small typo in README :)
  • Loading branch information
tonysepia authored Dec 6, 2020
1 parent 987014c commit b38219f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ date parsing strategy than the default one you could do that with a transform.

```js
module.exports = function (formats = 'MMM dd, yyyy') {
return date().transform(function (value, originalvalue) {
return date().transform(function (value, originalValue) {
// check to see if the previous transform already parsed the date
if (this.isType(value)) return value;

Expand Down

0 comments on commit b38219f

Please sign in to comment.