MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / format

Function format

tests/test_code/js/moment/moment.js:3969–3977  ·  view source on GitHub ↗
(inputString)

Source from the content-addressed store, hash-verified

3967 }
3968
3969 function format(inputString) {
3970 if (!inputString) {
3971 inputString = this.isUtc()
3972 ? hooks.defaultFormatUtc
3973 : hooks.defaultFormat;
3974 }
3975 var output = formatMoment(this, inputString);
3976 return this.localeData().postformat(output);
3977 }
3978
3979 function from(time, withoutSuffix) {
3980 if (

Callers 1

pastFutureFunction · 0.85

Calls 1

formatMomentFunction · 0.85

Tested by

no test coverage detected