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

consolidate datetime methods

This commit is contained in:
Luke Pulverenti 2016-05-05 22:55:15 -04:00
parent 69ae494554
commit 8225003fd5
9 changed files with 29 additions and 70 deletions

View file

@ -1,4 +1,4 @@
define([], function () {
define(['datetime'], function (datetime) {
function getTimersHtml(timers) {
@ -69,8 +69,8 @@
html += '</div>';
html += '<div secondary>';
html += LibraryBrowser.getDisplayTime(timer.StartDate);
html += ' - ' + LibraryBrowser.getDisplayTime(timer.EndDate);
html += datetime.getDisplayTime(timer.StartDate);
html += ' - ' + datetime.getDisplayTime(timer.EndDate);
html += '</div>';
html += '</a>';