mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Uses now proper toLocaleString function
This commit is contained in:
parent
66f33b368b
commit
df39a9a1ff
9 changed files with 22 additions and 22 deletions
|
@ -5,7 +5,8 @@ import keyboardnavigation from '../../scripts/keyboardNavigation';
|
|||
import './emby-slider.scss';
|
||||
import 'webcomponents.js/webcomponents-lite';
|
||||
import '../emby-input/emby-input';
|
||||
import { getIsRTL } from '../../scripts/globalize';
|
||||
import { getCurrentDateTimeLocale, getIsRTL } from '../../scripts/globalize';
|
||||
import datetime from '../../scripts/datetime';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
@ -129,7 +130,7 @@ import { getIsRTL } from '../../scripts/globalize';
|
|||
if (range.getBubbleText) {
|
||||
value = range.getBubbleText(value);
|
||||
} else {
|
||||
value = mapFractionToValue(range, value / 100).toLocaleString();
|
||||
value = datetime.toLocaleString(mapFractionToValue(range, value / 100));
|
||||
}
|
||||
value = '<h1 class="sliderBubbleText">' + value + '</h1>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue