Skip to content

Commit

Permalink
[#1735] fix to 6f6df94
Browse files Browse the repository at this point in the history
  • Loading branch information
lefnire committed Nov 4, 2013
1 parent 14fac02 commit de05d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/services/userServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit de05d7d

Please sign in to comment.