docs(readme): update readme with languages section, add license badge

This commit is contained in:
Amruth Pillai
2022-03-11 19:42:07 +01:00
parent ec98c14fbd
commit 5836e55a36
3 changed files with 26 additions and 3 deletions

View File

@ -10,7 +10,9 @@ const DateWrapper: React.FC = ({ children }) => {
dayjs.extend(relativeTime);
// Locales
require('dayjs/locale/de');
require('dayjs/locale/kn');
require('dayjs/locale/ta');
locale && dayjs.locale(locale);
}, [locale]);