mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Disable the ignored return error in support check
This commit is contained in:
parent
4a72d84a46
commit
bdf28b89fc
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ export function getDisplayRunningTime(ticks) {
|
|||
|
||||
const toLocaleTimeStringSupportsLocales = function () {
|
||||
try {
|
||||
// eslint-disable-next-line sonarjs/no-ignored-return
|
||||
new Date().toLocaleTimeString('i');
|
||||
} catch (e) {
|
||||
return e.name === 'RangeError';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue