mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-14 18:22:21 +00:00
fix(moment): use new syntax, remove deprecation warning
This commit is contained in:
parent
8da33857e4
commit
cd4626ec06
1 changed files with 1 additions and 1 deletions
|
|
@ -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});
|
||||
|
||||
/*
|
||||
------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue