Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ formatWeekNumberMonday
Function
formatWeekNumberMonday
external/.d3.js:16554–16556 ·
view source on GitHub ↗
(d, p)
Source
from the content-addressed store, hash-verified
16552
}
16553
16554
function
formatWeekNumberMonday(d, p) {
16555
return
pad(timeMonday.count(timeYear(d) - 1, d), p, 2);
16556
}
16557
16558
function
formatYear(d, p) {
16559
return
pad(d.getFullYear() % 100, p, 2);
Callers
nothing calls this directly
Calls
1
pad
Function · 0.85
Tested by
no test coverage detected