1
0
Fork 0
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:
Bill Thornton 2023-05-04 16:05:02 -04:00
parent 4a72d84a46
commit bdf28b89fc

View file

@ -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';