lib/scheduler.js
function punch(date) {
  Object.defineProperty(date, '_isValid', {
    get: function() {
      return this.toDate() !== this.lang().invalidDate()
    }
  });
  return date;
}
function punch(date) {
  Object.defineProperty(date, '_isValid', {
    get: function() {
      return this.toDate() !== this.lang().invalidDate()
    }
  });
  return date;
}
function punch ( date ) { Object . defineProperty ( date , '_isValid' , { get : function ( ) { return this . toDate ( ) !== this . lang ( ) . invalidDate ( ) } } ) ; return date ; }
monkey punch moment to get around a validation bug
monkey punch moment to get around a validation bug