correct offset localtime for comments ago
This commit is contained in:
parent
689f3b906c
commit
12d85242dc
@ -10,7 +10,7 @@ define(function() {
|
||||
};
|
||||
|
||||
Offset.prototype.localTime = function() {
|
||||
return new Date((new Date()).getTime() + this.values.reduce(
|
||||
return new Date((new Date()).getTime() - this.values.reduce(
|
||||
function(a, b) { return a + b; }) / this.values.length);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user