localeData().months() or weekdays() throws exception or undefined in 14 locales #3805
Closed
Description
Previously reported in this issue but they're two separate issues.
localeData().monthsShort()
appears to be broken for:
es
es-do
nl
nl-be
fy
Both m
and format
are undefined when getting the locale data:
monthsShort : function (m, format) {
if (/-MMM-/.test(format)) {
return monthsShort[m.month()];
} else {
return monthsShortDot[m.month()];
}
}