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:
parent
6915c52297
commit
a787772df7
2 changed files with 4 additions and 3 deletions
|
@ -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(), {
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue