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

Function formatPeriod

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

Source from the content-addressed store, hash-verified

16313 }
16314
16315 function formatPeriod(d) {
16316 return locale_periods[+(d.getHours() >= 12)];
16317 }
16318
16319 function formatQuarter(d) {
16320 return 1 + ~~(d.getMonth() / 3);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected