Skip to content

Commit

Permalink
fix isAfterMax function bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hos3ein authored Jan 11, 2022
1 parent f734919 commit 4d2f6d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ private boolean isAfterMax(int year, int month, int day) {
return false;
}

if (day > maxDate.getPersianMonth()) {
if (day > maxDate.getPersianDay()) {
return true;
} else {
return false;
Expand Down

0 comments on commit 4d2f6d2

Please sign in to comment.