mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +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
|
// 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)
|
var offset = moment().zone(); // eg, 240 - this will be converted on server as -(offset/60)
|
||||||
if (!user.preferences.timezoneOffset || user.preferences.timezoneOffset !== offset) {
|
if (!user.preferences.timezoneOffset || user.preferences.timezoneOffset !== offset) {
|
||||||
userServices.set({'preferences.timezoneOffset': offset});
|
userServices.set('preferences.timezoneOffset', offset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sent.length = 0;
|
sent.length = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue