mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
2a7324e3d7
commit
62265de2e5
7 changed files with 20 additions and 16 deletions
|
@ -881,9 +881,13 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
|
||||
if (options.showProgramAirInfo) {
|
||||
|
||||
var text = item.StartDate ?
|
||||
datetime.toLocaleString(datetime.parseISO8601Date(item.StartDate, true)) :
|
||||
'';
|
||||
var text;
|
||||
if (item.StartDate) {
|
||||
var startDate = datetime.parseISO8601Date(item.StartDate, true);
|
||||
text = datetime.toLocaleDateString(startDate) + ', ' + datetime.getDisplayTime(startDate);
|
||||
} else {
|
||||
text = '';
|
||||
}
|
||||
|
||||
lines.push(text || ' ');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue