- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
12 lines
453 B
JavaScript
12 lines
453 B
JavaScript
export default (function (option, Dayjs, dayjs) {
|
|
dayjs.updateLocale = function (locale, customConfig) {
|
|
var localeList = dayjs.Ls;
|
|
var localeConfig = localeList[locale];
|
|
if (!localeConfig) return;
|
|
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
|
customConfigKeys.forEach(function (c) {
|
|
localeConfig[c] = customConfig[c];
|
|
});
|
|
return localeConfig; // eslint-disable-line consistent-return
|
|
};
|
|
}); |