function parseDate(value) {
        if ( value ) {
          var date = new Date(value);
          if (!isNaN(date)) {
            return date;
          }
        }
        return value;
      }
// TODO: reverse from dateFilter string to Date object
reverse from dateFilter string to Date object
reverse from dateFilter string to Date object
function parseDate(value) {
        if ( value ) {
          var date = new Date(value);
          if (!isNaN(date)) {
            return date;
          }
        }
        return value;
      }
function parseDate ( value ) { if ( value ) { var date = new Date ( value ) ; if ( ! isNaN ( date ) ) { return date ; } } return value ; }
TODO: reverse from dateFilter string to Date object
TODO : reverse from dateFilter string to Date object