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

Function parseIsoWeekday

tests/test_code/js/moment/moment.js:1517–1522  ·  view source on GitHub ↗
(input, locale)

Source from the content-addressed store, hash-verified

1515 }
1516
1517 function parseIsoWeekday(input, locale) {
1518 if (typeof input === 'string') {
1519 return locale.weekdaysParse(input) % 7 || 7;
1520 }
1521 return isNaN(input) ? null : input;
1522 }
1523
1524 // LOCALES
1525 function shiftWeekdays(ws, n) {

Callers 1

getSetISODayOfWeekFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected