MCPcopy Create free account
hub / github.com/csev/py4e / pastFuture

Function pastFuture

code/gmane/Chart.bundle.js:4284–4287  ·  view source on GitHub ↗
(diff, output)

Source from the content-addressed store, hash-verified

4282 }
4283
4284 function pastFuture (diff, output) {
4285 var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
4286 return typeof format === 'function' ? format(output) : format.replace(/%s/i, output);
4287 }
4288
4289 function locale_set__set (config) {
4290 var prop, i;

Callers

nothing calls this directly

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected