fix(moment): use new syntax, remove deprecation warning

This commit is contained in:
Matteo Pagliazzi 2014-10-12 20:40:58 +02:00
parent 8da33857e4
commit cd4626ec06

View file

@ -97,7 +97,7 @@ habitrpg.controller("TasksCtrl", ['$scope', '$rootScope', '$location', 'User','N
To-Dos
------------------------
*/
$scope._today = moment().add('days',1);
$scope._today = moment().add({days: 1});
/*
------------------------