mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-20 12:48:52 +00:00
parent
14fac02a52
commit
de05d7dfda
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ angular.module('userServices', []).
|
|||
// FIXME handle this somewhere else, we don't need to check every single time
|
||||
var offset = moment().zone(); // eg, 240 - this will be converted on server as -(offset/60)
|
||||
if (!user.preferences.timezoneOffset || user.preferences.timezoneOffset !== offset) {
|
||||
userServices.set({'preferences.timezoneOffset': offset});
|
||||
userServices.set('preferences.timezoneOffset', offset);
|
||||
}
|
||||
}
|
||||
sent.length = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue