Skip to content

Commit

Permalink
Use module version of longFormatters (Hacker0x01#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWitchBella authored and martijnrusschen committed Nov 12, 2019
1 parent fb7811b commit e2dbe78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/date_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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`
Expand Down

0 comments on commit e2dbe78

Please sign in to comment.