MCPcopy Create free account
hub / github.com/breck7/scroll / formatUTCPeriod

Function formatUTCPeriod

external/.d3.js:16339–16341  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

16337 }
16338
16339 function formatUTCPeriod(d) {
16340 return locale_periods[+(d.getUTCHours() >= 12)];
16341 }
16342
16343 function formatUTCQuarter(d) {
16344 return 1 + ~~(d.getUTCMonth() / 3);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected