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',
EnableTotalRecordCount: 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.
return 0;
} else {
return maxDaysForNextUp || 100;
return maxDaysForNextUp || 365;
}
}