From fff3c4e0391378f339a6d72e003e2d820864c52b Mon Sep 17 00:00:00 2001 From: Stefan Brunecker Date: Wed, 26 May 2021 17:34:54 +0200 Subject: [PATCH] fix: lint error --- src/plugin/customParseFormat/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/customParseFormat/index.js b/src/plugin/customParseFormat/index.js index 7561121e9..536a6654c 100644 --- a/src/plugin/customParseFormat/index.js +++ b/src/plugin/customParseFormat/index.js @@ -206,7 +206,7 @@ const parseFormattedInput = (input, format, utc) => { export default (o, C, d) => { d.p.customParseFormat = true if (o && o.parseTwoDigitYear) { - ({ parseTwoDigitYear: parseTwoDigitYear } = o) + ({ parseTwoDigitYear } = o) } const proto = C.prototype const oldParse = proto.parse