MCPcopy Create free account
hub / github.com/chartjs/Chart.js / newDate

Function newDate

docs/scripts/utils.js:151–153  ·  view source on GitHub ↗
(days)

Source from the content-addressed store, hash-verified

149}
150
151export function newDate(days) {
152 return DateTime.now().plus({days}).toJSDate();
153}
154
155export function newDateString(days) {
156 return DateTime.now().plus({days}).toISO();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected