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

Function format

static/plugins/chart.js/Chart.bundle.js:18079–18085  ·  view source on GitHub ↗
(inputString)

Source from the content-addressed store, hash-verified

18077 }
18078
18079 function format (inputString) {
18080 if (!inputString) {
18081 inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;
18082 }
18083 var output = formatMoment(this, inputString);
18084 return this.localeData().postformat(output);
18085 }
18086
18087 function from (time, withoutSuffix) {
18088 if (this.isValid() &&

Callers 3

toTimestampFunction · 0.70
toTimestampFunction · 0.70
pastFutureFunction · 0.70

Calls 1

formatMomentFunction · 0.85

Tested by

no test coverage detected