diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index b1e1c2fe7d..7f5775a5e6 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1332,7 +1332,13 @@ if (item.EndDate) { try { - text += "-" + parseISO8601Date(item.EndDate, { toLocal: true }).getFullYear(); + + var endYear = parseISO8601Date(item.EndDate, { toLocal: true }).getFullYear(); + + if (endYear != item.ProductionYear) { + text += "-" + parseISO8601Date(item.EndDate, { toLocal: true }).getFullYear(); + } + } catch (e) { console.log("Error parsing date: " + item.EndDate);