From cdb6099a6c709207649f3ca0b013db2973eb36e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isabella=20Sko=C5=99epov=C3=A1?= Date: Mon, 9 Sep 2019 15:34:01 +0200 Subject: [PATCH] Use module version of longFormatters --- src/date_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/date_utils.js b/src/date_utils.js index d5e794cbb..c185d517a 100644 --- a/src/date_utils.js +++ b/src/date_utils.js @@ -52,7 +52,7 @@ import isWithinInterval from "date-fns/isWithinInterval"; import toDate from "date-fns/toDate"; import parse from "date-fns/parse"; import parseISO from "date-fns/parseISO"; -import longFormatters from "date-fns/_lib/format/longFormatters"; +import longFormatters from "date-fns/esm/_lib/format/longFormatters"; // This RegExp catches symbols escaped by quotes, and also // sequences of symbols P, p, and the combinations like `PPPPPPPppppp`