You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This occurs due to a future deprecation in moment.js. See issue
Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
The text was updated successfully, but these errors were encountered:
Hi. I am encountering this issue. New to working on open-source so forgive any etiquette mistakes on my part.
When attempting to solve this issue using javascript moment(someDate).isValid() and get rid of the deprecation warning, I tried:
moment(someDate,moment.ISO_8601).isValid()
...and still received the deprecation warning. It seems like the deprecation warning should not occur in this case. Also this could be a good use case for general date validation with the stricter moment.js
I've been swamped with school lately and haven't had a chance to look into this issue. Thanks for your responses and if I don't get to it sometime soon feel free to submit a PR!
This occurs due to a future deprecation in moment.js. See issue
Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
The text was updated successfully, but these errors were encountered: