Skip to content

Commit

Permalink
Add 1 to day
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdullahM0hamed committed Apr 14, 2024
1 parent 4586f40 commit 9729de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/kotlin/com/hilal/widget/util/HilalUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ object HilalUtils {
0
}

val days = Period.between(doubtDay, current).days + sub
val days = Period.between(doubtDay, current).days + sub + 1
var day = if (sub == 1 && days == 30 && doubtDay.compareTo(current) < 0) {
"30?/1?"
} else {
Expand Down

0 comments on commit 9729de2

Please sign in to comment.