mirror of
https://github.com/mue/mue.git
synced 2026-07-17 14:04:09 +02:00
fix: only show features in settings that are compatible with the browser and fix date widget
This commit is contained in:
@@ -57,7 +57,7 @@ export default class DateWidget extends React.PureComponent {
|
||||
});
|
||||
} else {
|
||||
// Long date
|
||||
const lang = localStorage.getItem('language');
|
||||
const lang = localStorage.getItem('language').split('_')[0];
|
||||
|
||||
const nth = (localStorage.getItem('datenth') === 'true') ? dtf.nth(date.getDate()) : date.getDate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user