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:
parent
69ae494554
commit
8225003fd5
9 changed files with 29 additions and 70 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['jQuery', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function ($) {
|
||||
define(['datetime', 'jQuery', 'paper-fab', 'paper-item-body', 'paper-icon-item'], function (datetime, $) {
|
||||
|
||||
function getTabs() {
|
||||
return [
|
||||
|
@ -65,7 +65,7 @@
|
|||
|
||||
var text = date.toLocaleDateString();
|
||||
|
||||
text += ' ' + LibraryBrowser.getDisplayTime(date);
|
||||
text += ' ' + datetime.getDisplayTime(date);
|
||||
|
||||
logHtml += '<div secondary>' + text + '</div>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue