Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ newDateFromRef
Function
newDateFromRef
test/fixtures/scale.time/data-ty.js:1–3 ·
view source on GitHub ↗
(days)
Source
from the content-addressed store, hash-verified
1
function
newDateFromRef(days) {
2
return
moment(
'01/01/2015 12:00'
,
'DD/MM/YYYY HH:mm'
).add(days,
'd'
).toDate();
3
}
4
5
module.exports = {
6
threshold: 0.01,
Callers
1
data-ty.js
File · 0.70
Calls
1
add
Method · 0.65
Tested by
no test coverage detected