mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Small fixes
Release commit
This commit is contained in:
parent
eff7c17866
commit
187e44607d
6 changed files with 70 additions and 62 deletions
|
|
@ -48,6 +48,10 @@ AdminLicensing.prototype.showActivationForm = function ()
|
|||
*/
|
||||
AdminLicensing.prototype.licenseExpiredMomentValue = function ()
|
||||
{
|
||||
var oDate = moment.unix(this.licenseExpired());
|
||||
return oDate.format('LL') + ' (' + oDate.from(moment()) + ')';
|
||||
var
|
||||
iTime = this.licenseExpired(),
|
||||
oDate = moment.unix(iTime)
|
||||
;
|
||||
|
||||
return iTime && 1898625600 === iTime ? 'Never' : (oDate.format('LL') + ' (' + oDate.from(moment()) + ')');
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue