1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Change toUTCString to toISOString and change default to 365 days.

This commit is contained in:
Jack 2021-09-13 20:50:38 -04:00
parent 2aecd89d6e
commit 1742fe4c5a
2 changed files with 2 additions and 2 deletions

View file

@ -608,7 +608,7 @@ import ServerConnections from '../ServerConnections';
EnableImageTypes: 'Primary,Backdrop,Banner,Thumb', EnableImageTypes: 'Primary,Backdrop,Banner,Thumb',
EnableTotalRecordCount: false, EnableTotalRecordCount: false,
DisableFirstEpisode: false, DisableFirstEpisode: false,
NextUpDateCutoff: oldestDateForNextUp.toUTCString() NextUpDateCutoff: oldestDateForNextUp.toISOString()
}); });
}; };
} }

View file

@ -444,7 +444,7 @@ export class UserSettings {
// Explicitly return 0 to avoid returning 100 because 0 is falsy. // Explicitly return 0 to avoid returning 100 because 0 is falsy.
return 0; return 0;
} else { } else {
return maxDaysForNextUp || 100; return maxDaysForNextUp || 365;
} }
} }