diff --git a/jquery.timeago.js b/jquery.timeago.js index 44539a4..87deaa6 100644 --- a/jquery.timeago.js +++ b/jquery.timeago.js @@ -179,7 +179,7 @@ var $s = $t.settings; if (!isNaN(data.datetime)) { - if ( $s.cutoff == 0 || distance(data.datetime) < $s.cutoff) { + if ( $s.cutoff == 0 || Math.abs(distance(data.datetime)) < $s.cutoff) { $(this).text(inWords(data.datetime)); } }