mirror of
https://github.com/ansible/awx.git
synced 2026-02-17 19:20:05 -03:30
Merge pull request #1896 from shanemcd/expiration-date
*Really* display correct expiration date on license page.
This commit is contained in:
@@ -74,6 +74,7 @@ export default
|
|||||||
|
|
||||||
var calcExpiresOn = function(days){
|
var calcExpiresOn = function(days){
|
||||||
// calculate the expiration date of the license
|
// calculate the expiration date of the license
|
||||||
|
days = parseInt(days);
|
||||||
return moment().add(days, 'days').calendar();
|
return moment().add(days, 'days').calendar();
|
||||||
};
|
};
|
||||||
var init = function(){
|
var init = function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user