mirror of
https://github.com/samsonjs/strftime.git
synced 2026-04-27 14:57:37 +00:00
vapourize some stray semicolons
This commit is contained in:
parent
8ba1f03a71
commit
30fd95dbba
1 changed files with 3 additions and 3 deletions
|
|
@ -113,7 +113,7 @@
|
||||||
|
|
||||||
var strftime = (locale ? defaultStrftime.localize(locale) : defaultStrftime).timezone(timezone);
|
var strftime = (locale ? defaultStrftime.localize(locale) : defaultStrftime).timezone(timezone);
|
||||||
return strftime(fmt, d);
|
return strftime(fmt, d);
|
||||||
};
|
}
|
||||||
|
|
||||||
var utcStrftime = defaultStrftime.utc();
|
var utcStrftime = defaultStrftime.utc();
|
||||||
function deprecatedStrftimeUTC(fmt, d, locale) {
|
function deprecatedStrftimeUTC(fmt, d, locale) {
|
||||||
|
|
@ -125,12 +125,12 @@
|
||||||
}
|
}
|
||||||
var strftime = locale ? utcStrftime.localize(locale) : utcStrftime;
|
var strftime = locale ? utcStrftime.localize(locale) : utcStrftime;
|
||||||
return strftime(fmt, d);
|
return strftime(fmt, d);
|
||||||
};
|
}
|
||||||
|
|
||||||
function deprecatedStrftimeLocalized(locale) {
|
function deprecatedStrftimeLocalized(locale) {
|
||||||
deprecationWarning("`" + _require + ".localizedStrftime(locale)`", _require + ".localize(locale)");
|
deprecationWarning("`" + _require + ".localizedStrftime(locale)`", _require + ".localize(locale)");
|
||||||
return defaultStrftime.localize(locale);
|
return defaultStrftime.localize(locale);
|
||||||
};
|
}
|
||||||
// End of deprecated API
|
// End of deprecated API
|
||||||
|
|
||||||
// Polyfill Date.now for old browsers.
|
// Polyfill Date.now for old browsers.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue