MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / pastFuture

Function pastFuture

static/plugins/chart.js/Chart.bundle.js:15196–15199  ·  view source on GitHub ↗
(diff, output)

Source from the content-addressed store, hash-verified

15194 }
15195
15196 function pastFuture (diff, output) {
15197 var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
15198 return isFunction(format) ? format(output) : format.replace(/%s/i, output);
15199 }
15200
15201 var aliases = {};
15202

Callers

nothing calls this directly

Calls 2

isFunctionFunction · 0.70
formatFunction · 0.70

Tested by

no test coverage detected