code: function(value, type) {
      if (type === 'dow') {
        return moment().day(value - 1).format('ddd');
      } else if (type === 'mon') {
        return moment().month(value - 1).format('MMM');
      }
    }
docs: /*
  Parse a number into day of week, or a month name;
  used in dateList below.