Skip to content

Commit

Permalink
Merge pull request #8 from shivathapaa/bug-fix/date-after-ashar-2081
Browse files Browse the repository at this point in the history
Critical update: Fix date after ashar 2081
  • Loading branch information
keyrunHORNET authored Jul 1, 2024
2 parents eb2e9a2 + 523c150 commit b2269a9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ object NepaliDateUtils {
daysInMonthMap.put(2078, intArrayOf(0, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30))
daysInMonthMap.put(2079, intArrayOf(0, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30))
daysInMonthMap.put(2080, intArrayOf(0, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30))
daysInMonthMap.put(2081, intArrayOf(0, 31, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30))
daysInMonthMap.put(2081, intArrayOf(0, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31))
daysInMonthMap.put(2082, intArrayOf(0, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30))
daysInMonthMap.put(2083, intArrayOf(0, 31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30))
daysInMonthMap.put(2084, intArrayOf(0, 31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30))
Expand Down Expand Up @@ -287,7 +287,7 @@ object NepaliDateUtils {
startWeekDayMonthMap.put(2078, intArrayOf(0, 4, 7, 3, 6, 3, 6, 2, 4, 5, 7, 1, 3))
startWeekDayMonthMap.put(2079, intArrayOf(0, 5, 1, 4, 1, 4, 7, 3, 5, 6, 1, 2, 4))
startWeekDayMonthMap.put(2080, intArrayOf(0, 6, 2, 6, 2, 6, 2, 4, 6, 1, 2, 3, 5))
startWeekDayMonthMap.put(2081, intArrayOf(0, 7, 3, 6, 3, 7, 3, 5, 7, 2, 3, 5, 7))
startWeekDayMonthMap.put(2081, intArrayOf(0, 7, 3, 7, 3, 7, 3, 5, 7, 2, 3, 5, 6))
startWeekDayMonthMap.put(2082, intArrayOf(0, 2, 4, 1, 4, 1, 4, 6, 1, 3, 4, 6, 1))
startWeekDayMonthMap.put(2083, intArrayOf(0, 3, 6, 2, 6, 2, 5, 7, 2, 4, 5, 7, 2))
startWeekDayMonthMap.put(2084, intArrayOf(0, 4, 7, 3, 7, 3, 6, 1, 3, 5, 6, 1, 3))
Expand Down Expand Up @@ -469,4 +469,4 @@ internal fun Int.toDigits(base: Int = 10): List<Int> = sequence {
yield(n % base)
n /= base
}
}.toList()
}.toList()

0 comments on commit b2269a9

Please sign in to comment.