mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added new device profiles
This commit is contained in:
parent
b9ac022c81
commit
433cee5164
17 changed files with 296 additions and 313 deletions
|
@ -164,6 +164,28 @@
|
|||
|
||||
window.LiveTvHelpers = {
|
||||
|
||||
getDaysOfWeek: function () {
|
||||
|
||||
var days = [
|
||||
'Sunday',
|
||||
'Monday',
|
||||
'Tuesday',
|
||||
'Wednesday',
|
||||
'Thursday',
|
||||
'Friday',
|
||||
'Saturday'
|
||||
];
|
||||
|
||||
return days.map(function (d) {
|
||||
|
||||
return {
|
||||
name: d,
|
||||
value: d
|
||||
};
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
getDisplayTime: function (date) {
|
||||
|
||||
if ((typeof date).toString().toLowerCase() === 'string') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue