Open ghost opened 3 years ago
I don't understand why an AngularJS library needs to manage dates as Moment objects. For example, it is wrong for filters. Here is a demo.
Besides, if dates (startDate and/or endDate) are defined with dates, it fails. For avoid this, it is necessary some code like: Date.prototype.isValid = angular.noop;.
startDate
endDate
Date.prototype.isValid = angular.noop;
I don't understand why an AngularJS library needs to manage dates as Moment objects. For example, it is wrong for filters. Here is a demo.