mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-18 19:58:52 +00:00
upgrade moment
This commit is contained in:
parent
3aa450f8d4
commit
9ccf2c8d11
2 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@
|
|||
"js2xmlparser": "~0.1.2",
|
||||
"lodash": "~2.4.1",
|
||||
"method-override": "~2.2.0",
|
||||
"moment": "~2.4.0",
|
||||
"mongoose": "~3.8.17",
|
||||
"moment": "~2.8.3",
|
||||
"mongoose-id-autoinc": "~2013.7.14-4",
|
||||
"nconf": "*",
|
||||
"newrelic": "~1.11.2",
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ function cancelSubscription(user, data){
|
|||
if(isProduction) emailUser(user, 'cancel-subscription');
|
||||
user.purchased.plan.dateTerminated =
|
||||
moment( now.format('MM') + '/' + moment(du).format('DD') + '/' + now.format('YYYY') )
|
||||
.add('month',1)
|
||||
.add(1, 'month')
|
||||
.toDate();
|
||||
ga.event('unsubscribe', 'Stripe').send();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue