diff --git a/src/Miscellaneous/RelativeDates.coffee b/src/Miscellaneous/RelativeDates.coffee index c0e7d5d34..3f37504c5 100644 --- a/src/Miscellaneous/RelativeDates.coffee +++ b/src/Miscellaneous/RelativeDates.coffee @@ -39,7 +39,7 @@ RelativeDates = else if years is 1 and (months > 0 or months is 0 and days >= 0) number = years 'year' - else if (months = (months+12)%12 ) > 1 + else if (months = months + 12*years) > 1 number = months - (days < 0) 'month' else if months is 1 and days >= 0