MCPcopy
hub / github.com/chartjs/Chart.js / formats

Method formats

src/core/core.adapters.ts:22–22  ·  view source on GitHub ↗

* Returns a map of time formats for the supported formatting units defined * in Unit as well as 'datetime' representing a detailed date/time string.

(this: DateAdapter<T>)

Source from the content-addressed store, hash-verified

20 * in Unit as well as 'datetime' representing a detailed date/time string.
21 */
22 formats(this: DateAdapter<T>): Record<TimeUnit | 'datetime', string>;
23 /**
24 * Parses the given `value` and return the associated timestamp.
25 * @param value - the value to parse (usually comes from the data)

Callers 1

initMethod · 0.65

Implementers 1

DateAdapterBasesrc/core/core.adapters.ts

Calls

no outgoing calls

Tested by

no test coverage detected