(m, format)
| 958 | defaultMonthsRegex = matchWord; |
| 959 | |
| 960 | function localeMonths(m, format) { |
| 961 | if (!m) { |
| 962 | return isArray(this._months) |
| 963 | ? this._months |
| 964 | : this._months['standalone']; |
| 965 | } |
| 966 | return isArray(this._months) |
| 967 | ? this._months[m.month()] |
| 968 | : this._months[ |
| 969 | (this._months.isFormat || MONTHS_IN_FORMAT).test(format) |
| 970 | ? 'format' |
| 971 | : 'standalone' |
| 972 | ][m.month()]; |
| 973 | } |
| 974 | |
| 975 | function localeMonthsShort(m, format) { |
| 976 | if (!m) { |