mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
10248a3aeb
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@
|
|||
if (new Date(pkg.expDate).getTime() < new Date(1970, 1, 1).getTime()) {
|
||||
regStatus += "This feature has no registration information";
|
||||
} else {
|
||||
if (pkg.expDate <= new Date().getTime()) {
|
||||
regStatus += "The trial period for this feature has expired on this machine";
|
||||
if (new Date(pkg.expDate).getTime() <= new Date().getTime()) {
|
||||
regStatus += "The trial period for this feature has expired";
|
||||
} else {
|
||||
regStatus += "The trial period for this feature will expire in " + Math.round((new Date(pkg.expDate).getTime() - new Date().getTime()) / (86400000)) + " day(s)";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue