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

fixed movie year display

This commit is contained in:
Luke Pulverenti 2013-06-04 23:40:17 -04:00
parent 6915c52297
commit a787772df7
2 changed files with 4 additions and 3 deletions

View file

@ -377,7 +377,8 @@
}
function renderChildren(page, item) {
var sortBy = item.Type == "Boxset" ? "ProductionYear,SortName" : "SortName";
var sortBy = item.Type == "BoxSet" ? "ProductionYear,SortName" : "SortName";
ApiClient.getItems(Dashboard.getCurrentUserId(), {

View file

@ -1357,7 +1357,7 @@
else if (item.PremiereDate) {
try {
text = "-" + parseISO8601Date(item.PremiereDate, { toLocal: true }).getFullYear();
text = parseISO8601Date(item.PremiereDate, { toLocal: true }).getFullYear();
miscInfo.push(text);
}
catch (e) {