test/dummy/vendor/assets/components/moment/src/lib/utils/is-date.js in date_picker-0.0.6 vs test/dummy/vendor/assets/components/moment/src/lib/utils/is-date.js in date_picker-0.0.7
- old
+ new
@@ -1,3 +1,3 @@
export default function isDate(input) {
- return Object.prototype.toString.call(input) === '[object Date]' || input instanceof Date;
+ return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]';
}