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

Function newDateString

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

Source from the content-addressed store, hash-verified

153}
154
155export function newDateString(days) {
156 return DateTime.now().plus({days}).toISO();
157}
158
159export function parseISODate(str) {
160 return DateTime.fromISO(str);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected