-
Notifications
You must be signed in to change notification settings - Fork 17
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
Conflicts with moment-parseplus #35
Comments
The added the
Can you provide a code snippet show what behavior is actually occurring? I'm not sure what you mean by Attempted case:
|
The "annoying message" is an intentional "feature" of moment, I can completely understand suppressing it but I'm not why a proptypes validation library would be doing so - an end-user app, sure. |
I understand that it's not a good thing to leave into a production library. I'll work towards changing it as part of a solution here. I'm not seeing any problem with the code snippet you've given (no console message or failure when using a moment instance). Can you please specify the version in your |
This allows consumers to choose how they wish to handle this behavior.
This allows consumers to choose how they wish to handle this behavior.
This allows consumers to choose how they wish to handle this behavior.
I create #40 to change this behavior and update this library's documentation. |
Apologies for the delay - that looks good to me, just tried that out and works fine for me after removing workaround |
This allows consumers to choose how they wish to handle this behavior.
This allows consumers to choose how they wish to handle this behavior.
Fix (among other changes) released in v1.6.0. |
When I added
react-dates
to my project, the dependency onreact-moment-proptypes
broke the use of moment-parseplus, because both overridemoment.createFromInputFallback
. The flaky global override certainly seems to be an issue arising from both projects/moment
design, butmoment-parseplus
documents this up front, whilereact-moment-proptypes
does not, not clear to me why this change ddc0b2e affectingmoment
runtime behaviour is required.(Workaround: change ordering to overwrite in the other direction)
The text was updated successfully, but these errors were encountered: