MomentJS - Nomes dos meses

Você pode adicionar nomes de meses à personalização do local.

Sintaxe

moment.updateLocale('en', {
   months : String[]
});

OU

moment.updateLocale('en', {
   months : Function
});

OU

moment.updateLocale('en', {
   months : {
      format : String[],
      standalone : String[]
   }
});

Exemplo

var localeData = moment.updateLocale('fr', {
   months: [
      "Jan", "Feb", "Mar", "Apr", "May", "June", "July",
      "Aug", "Sept", "Oct", "Nov", "Dec"
   ]
});
var m = localeData.months();

Resultado

Exemplo

var localeData = moment.updateLocale('en', {
   nominative:
      'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
   subjective: 
      'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
   months: function (momentToFormat, format) {
      if (/^MMMM/.test(format)) {
         console.log(this._nominative);
         return this._nominative[momentToFormat.month()];
      } else {
         return this._subjective[momentToFormat.month()];
      }
   }
});
var m = localeData.months(moment(), "MMMM");

Resultado

Exemplo

var localeData = moment.updateLocale('en', {
   months : {
      format: 
         'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
      standalone: 
         'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
      isFormat:
         /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/ // from 2.14.0
   }
});
var m = localeData.months();

Resultado