mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
Changed route to user set custom day start
This commit is contained in:
@@ -77,8 +77,7 @@ habitrpg.controller('SettingsCtrl',
|
||||
};
|
||||
|
||||
$scope.saveDayStart = function() {
|
||||
User.set({'preferences.dayStart': Math.floor($scope.dayStart)});
|
||||
User.setLastCron(+new Date);
|
||||
User.setCustomDayStart(Math.floor($scope.dayStart));
|
||||
};
|
||||
|
||||
$scope.language = window.env.language;
|
||||
|
||||
Reference in New Issue
Block a user