https://bugzilla.wikimedia.org/show_bug.cgi?id=66635

--- Comment #2 from Mormegil <[email protected]> ---
(In reply to Tisza Gergő from comment #1)
> As for the warning itself,
> there doesn't seem to be a way to suppress it when you we handing an unknown
> string to moment. So as far as I can see this is a WONTFIX.

The documented [1] way to parse a date string with a user-defined fallback when
the string is not properly ISO-formatted, is to override
moment.createFromInputFallback.

The current functionality allowing to do moment('4 3 2000') and expecting a
“useful” result is deprecated and possibly will be removed in a future version,
so I don’t see how WONTFIXing this could work.

[1] https://github.com/moment/moment/issues/1407#issuecomment-41620885

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to