node-calendar.js
function _extractLocaleMonths(abbr, locale) {
      var months = []
      if(abbr) {
        months = cldr ? cldr.extractMonthNames(locale).format.abbreviated : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
      }
      else {
        months = cldr ? cldr.extractMonthNames(locale).format.wide : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
      }

      months.unshift('');
      return months;
    }
function _extractLocaleMonths(abbr, locale) {
      var months = []
      if(abbr) {
        months = cldr ? cldr.extractMonthNames(locale).format.abbreviated : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
      }
      else {
        months = cldr ? cldr.extractMonthNames(locale).format.wide : ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
      }

      months.unshift('');
      return months;
    }
function _extractLocaleMonths ( abbr , locale ) { var months = [ ] if ( abbr ) { months = cldr ? cldr . extractMonthNames ( locale ) . format . abbreviated : [ 'Jan' , 'Feb' , 'Mar' , 'Apr' , 'May' , 'Jun' , 'Jul' , 'Aug' , 'Sep' , 'Oct' , 'Nov' , 'Dec' ] ; } else { months = cldr ? cldr . extractMonthNames ( locale ) . format . wide : [ 'January' , 'February' , 'March' , 'April' , 'May' , 'June' , 'July' , 'August' , 'September' , 'October' , 'November' , 'December' ] ; } months . unshift ( '' ) ; return months ; }
Extracts the wide or abbreviated month names for a specified locale.
If cldr is not installed values default to that for locale en_US.

@param {Boolean} abbr
@param {String} locale
@api private
Extracts the wide or abbreviated month names for a specified locale . If cldr is not installed values default to that for locale en_US .