Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/c1960525d7bf973e1c4e18b4e6ef1fe0040f2326/NzbDrone.Backbone/Mixins/spoon.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Backbone/Mixins/spoon.js

12 lines
414 B

function bestDateString(sourceDate){
if (!sourceDate) return '';
var date = Date.create(sourceDate);
if (date.isYesterday()) return 'Yesterday';
if (date.isToday()) return 'Today';
if (date.isTomorrow()) return 'Tomorrow';
if (date.isAfter(Date.create('tomorrow')) && date.isBefore(Date.create().addDays(7))) return date.format('{Weekday}');
return date.format('{MM}/{dd}/{yyyy}');
}