Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function timeLocale(l) {
var f = util.isString(l) ? d3_timeF[localeRef(l)] : d3_timeF.locale(l);
if (f == null) throw Error('Unrecognized locale: ' + l);
timeF = f;
monthFull = monthAbbr = dayFull = dayAbbr = null;
}