mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add date filter to activity table
This commit is contained in:
parent
aaa116d218
commit
07bb315bb3
5 changed files with 105 additions and 48 deletions
|
@ -25,7 +25,7 @@ export function getCurrentDateTimeLocale() {
|
|||
return currentDateTimeCulture;
|
||||
}
|
||||
|
||||
function getDefaultLanguage() {
|
||||
export function getDefaultLanguage() {
|
||||
const culture = document.documentElement.getAttribute('data-culture');
|
||||
if (culture) {
|
||||
return culture;
|
||||
|
@ -127,7 +127,7 @@ function ensureTranslation(translationInfo, culture) {
|
|||
});
|
||||
}
|
||||
|
||||
function normalizeLocaleName(culture) {
|
||||
export function normalizeLocaleName(culture) {
|
||||
return culture.replace('_', '-').toLowerCase();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue