Skip to content

fails to resolve toDate if date-fns@1.x is used elsewhere in project #32

@gsar

Description

@gsar

It appears date-fns@2.0 is no longer listed in peerDependencies, so when this is used in a project that has other things that depend on date-fns@1.x, it fails to load with the error:

image

since date-fns@1.x doesn't have toDate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions