Skip to content

Strict parsing? #58

Open
Open
@mnn

Description

@mnn

According to moment docs, it supports strict parsing (e.g. not accepting 1 and interpreting it as 1. 2. 2020):

moment("29-06-1995", ["MM-DD-YYYY", "DD-MM-YYYY"], true);

Am I overlooking something, or aren't there bindings for a strict parsing?

I am very green in Reason, never wrote any bindings and would rather not to attempt that. Especially since I think it will look a lot different than current parsing ones (passing value true, unlike others which don't touch anything).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions