1
0
Fork 0
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:
Bill Thornton 2024-08-29 01:59:33 -04:00
parent aaa116d218
commit 07bb315bb3
5 changed files with 105 additions and 48 deletions

View file

@ -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();
}