MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / localeMonthsShort

Function localeMonthsShort

tests/test_code/js/moment/moment.js:975–986  ·  view source on GitHub ↗
(m, format)

Source from the content-addressed store, hash-verified

973 }
974
975 function localeMonthsShort(m, format) {
976 if (!m) {
977 return isArray(this._monthsShort)
978 ? this._monthsShort
979 : this._monthsShort['standalone'];
980 }
981 return isArray(this._monthsShort)
982 ? this._monthsShort[m.month()]
983 : this._monthsShort[
984 MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'
985 ][m.month()];
986 }
987
988 function handleStrictParse(monthName, format, strict) {
989 var i,

Callers

nothing calls this directly

Calls 2

isArrayFunction · 0.85
testMethod · 0.80

Tested by

no test coverage detected