MCPcopy Create free account
hub / github.com/idank/explainshell / d3_time_formatPad

Function d3_time_formatPad

explainshell/web/static/js/d3.v3.js:8037–8041  ·  view source on GitHub ↗
(value, fill, width)

Source from the content-addressed store, hash-verified

8035 return map;
8036 }
8037 function d3_time_formatPad(value, fill, width) {
8038 value += "";
8039 var length = value.length;
8040 return length < width ? new Array(width - length + 1).join(fill) + value : value;
8041 }
8042 var d3_time_dayRe = d3_time_formatRe(d3_time_days), d3_time_dayAbbrevRe = d3_time_formatRe(d3_time_dayAbbreviations), d3_time_monthRe = d3_time_formatRe(d3_time_months), d3_time_monthLookup = d3_time_formatLookup(d3_time_months), d3_time_monthAbbrevRe = d3_time_formatRe(d3_time_monthAbbreviations), d3_time_monthAbbrevLookup = d3_time_formatLookup(d3_time_monthAbbreviations);
8043 var d3_time_formatPads = {
8044 "-": "",

Callers 2

d3.v3.jsFile · 0.85
d3_time_zoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected