src/cron-to-text.js
function numberToDateName(value, type) {
    if (type == 'dow') {
      return locale.DOW[value - 1];
    } else if (type == 'mon') {
      return locale.MONTH[value - 1];
    }
  }
function numberToDateName(value, type) {
    if (type == 'dow') {
      return locale.DOW[value - 1];
    } else if (type == 'mon') {
      return locale.MONTH[value - 1];
    }
  }
function numberToDateName ( value , type ) { if ( type == 'dow' ) { return locale . DOW [ value - 1 ] ; } else if ( type == 'mon' ) { return locale . MONTH [ value - 1 ] ; } }
Parse a number into day of week, or a month name;
used in dateList below.
@param {Number|String} value
@param {String} type
@returns {String}
Parse a number into day of week or a month name ; used in dateList below .