Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict parsing? #58

Open
mnn opened this issue Feb 7, 2020 · 0 comments
Open

Strict parsing? #58

mnn opened this issue Feb 7, 2020 · 0 comments

Comments

@mnn
Copy link

mnn commented Feb 7, 2020

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant