Moment Zdobądź nazwisko miesiąca
moment(monthNumber, 'M').format('MMMM')
florinrelea
moment(monthNumber, 'M').format('MMMM')
console.log(moment().format('DD/MMM'))
var currentDate = moment('2015-10-30');
var futureMonth = moment(currentDate).add(1, 'M');
var futureMonthEnd = moment(futureMonth).endOf('month');
if(currentDate.date() != futureMonth.date() && futureMonth.isSame(futureMonthEnd.format('YYYY-MM-DD'))) {
futureMonth = futureMonth.add(1, 'd');
}
console.log(currentDate);
console.log(futureMonth);
<Moment format="D MMMM YYYY">