diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-14 15:53:03 -0400 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-14 15:53:03 -0400 |
| commit | 08f0ba83357e95f4d2aa289bd893bae9b7c1d2bb (patch) | |
| tree | cfb4a0e1de9cf14af33285aa335b254c16695798 /MediaBrowser.WebDashboard/Html/scripts/AddPluginPage.js | |
| parent | fe1834e6be044f0fdbe68fb34122c680f29ae04d (diff) | |
| parent | 0ce5fc7799cd4d234d953243d664cc35e7c65eab (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.WebDashboard/Html/scripts/AddPluginPage.js')
| -rw-r--r-- | MediaBrowser.WebDashboard/Html/scripts/AddPluginPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.WebDashboard/Html/scripts/AddPluginPage.js b/MediaBrowser.WebDashboard/Html/scripts/AddPluginPage.js index 8b45747bb..24f7581e9 100644 --- a/MediaBrowser.WebDashboard/Html/scripts/AddPluginPage.js +++ b/MediaBrowser.WebDashboard/Html/scripts/AddPluginPage.js @@ -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)"; } |
