refactor(moment): Replace Moment.js with DayJs (#31310)

This commit is contained in:
Mehmet Salih Yavuz
2024-12-23 20:42:43 +03:00
committed by GitHub
parent b382ef1058
commit a193d790b2
41 changed files with 268 additions and 212 deletions

View File

@@ -58,7 +58,6 @@ const getAvailableTranslationCodes = () => {
.map(dirName => dirName.replace('_', '-'))
.map(dirName => LOCALE_CODE_MAPPING[dirName] || dirName);
}
// Indicates to the MomentLocalesPlugin that we only want to keep 'en'.
return [];
};