diff --git a/src/Miscellaneous/RelativeDates.coffee b/src/Miscellaneous/RelativeDates.coffee index 69c2353dd..fcb9c9067 100644 --- a/src/Miscellaneous/RelativeDates.coffee +++ b/src/Miscellaneous/RelativeDates.coffee @@ -31,7 +31,7 @@ RelativeDates = # diff is milliseconds from now. relative: (diff, now, date, abbrev) -> unit = if (number = (diff / $.DAY)) >= 1 - years = now.getYear() - date.getYear() + years = now.getFullYear() - date.getFullYear() months = now.getMonth() - date.getMonth() days = now.getDate() - date.getDate() if years > 1