]> git.ipfire.org Git - thirdparty/moment.git/commit
Ensure createFromInputFallback is called in all cases
authorIskren Chernev <iskren.chernev@gmail.com>
Fri, 11 Apr 2014 05:52:35 +0000 (22:52 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Fri, 11 Apr 2014 05:52:35 +0000 (22:52 -0700)
commitd85c3a03578c3914800f57166b074bd1971f063d
tree14249f040b08937953c8bba2e084a4e5a9d3846f
parentf559c6d8f8576ecdee730a306282653ce6f0cd9a
Ensure createFromInputFallback is called in all cases

Every case where user supplied input ends up into the Date constructor, without
us knowing what would be the result, call createFromInputFallback so the
function can be deprecated, overwritten and replaced in future versions.
moment.js
test/moment/create.js
test/moment/is_moment.js
test/moment/is_valid.js