MCPcopy Create free account
hub / github.com/microsoft/SandDance / parseMonth

Function parseMonth

docs/app/js/sanddance-app.js:112527–112530  ·  view source on GitHub ↗
(d, string, i)

Source from the content-addressed store, hash-verified

112525 return n ? (d.m = shortMonthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
112526 }
112527 function parseMonth(d, string, i) {
112528 var n = monthRe.exec(string.slice(i));
112529 return n ? (d.m = monthLookup.get(n[0].toLowerCase()), i + n[0].length) : -1;
112530 }
112531 function parseLocaleDateTime(d, string, i) {
112532 return parseSpecifier(d, locale_dateTime, string, i);
112533 }

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected