diff --git a/pyIslam/hijri.py b/pyIslam/hijri.py index 28ded4a..44713aa 100644 --- a/pyIslam/hijri.py +++ b/pyIslam/hijri.py @@ -63,7 +63,7 @@ def nextDate(self): return HijriDate.fromJulian(self.__julian + 1) def isLast(self): - if self.year < self.nextDate().year: + if self.month != self.nextDate().month: return True else: return False