MCPcopy Create free account
hub / github.com/microsoft/SandDance / createLocale

Function createLocale

docs/app/js/sanddance-app.js:110071–110071  ·  view source on GitHub ↗
(number, time)

Source from the content-addressed store, hash-verified

110069 return arguments.length ? defaultTimeLocale = timeFormatLocale(definition) : defaultTimeLocale;
110070}
110071const createLocale = (number, time)=>(0, _vegaUtil.extend)({}, number, time);
110072function locale(numberSpec, timeSpec) {
110073 const number = numberSpec ? numberFormatLocale(numberSpec) : numberFormatDefaultLocale();
110074 const time = timeSpec ? timeFormatLocale(timeSpec) : timeFormatDefaultLocale();

Callers 2

localeFunction · 0.70
defaultLocaleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected