mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2026-04-18 14:12:26 +00:00
Compare commits
2 Commits
v2.2.1
...
8144d861be
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8144d861be | ||
|
|
2d261b9df7 |
15
CHANGELOG.md
15
CHANGELOG.md
@@ -1,20 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## 2.2.1
|
||||
|
||||
* Potential fix of [#65](https://github.com/InsanusMokrassar/krontab/issues/65)
|
||||
* Versions
|
||||
* `Kotlin`: `1.9.20-Beta`
|
||||
* `Klock`: `4.0.10`
|
||||
* `Serialization`: `1.6.0`
|
||||
|
||||
## 2.2.0
|
||||
|
||||
* Versions
|
||||
* `Kotlin`: `1.9.0`
|
||||
* `Coroutines`: `1.7.3`
|
||||
* `Klock`: `4.0.9`
|
||||
|
||||
## 2.1.2
|
||||
|
||||
* Versions
|
||||
|
||||
@@ -97,7 +97,7 @@ kotlin {
|
||||
implementation kotlin('test-js')
|
||||
}
|
||||
}
|
||||
androidUnitTest {
|
||||
androidTest {
|
||||
dependencies {
|
||||
implementation kotlin('test-junit')
|
||||
}
|
||||
|
||||
@@ -9,13 +9,13 @@ android.useAndroidX=true
|
||||
android.enableJetifier=false
|
||||
|
||||
|
||||
kotlin_version=1.9.20-Beta
|
||||
kotlin_coroutines_version=1.7.3
|
||||
kotlin_serialization_version=1.6.0
|
||||
kotlin_version=1.8.22
|
||||
kotlin_coroutines_version=1.7.2
|
||||
kotlin_serialization_version=1.5.1
|
||||
|
||||
dokka_version=1.9.0
|
||||
dokka_version=1.8.20
|
||||
|
||||
klockVersion=4.0.10
|
||||
klockVersion=4.0.3
|
||||
|
||||
## Github reease
|
||||
|
||||
@@ -23,7 +23,7 @@ github_release_plugin_version=2.4.1
|
||||
|
||||
## Android
|
||||
|
||||
android_gradle_version=7.4.2
|
||||
android_gradle_version=8.1.0
|
||||
android_minSdkVersion=21
|
||||
android_compileSdkVersion=33
|
||||
android_buildToolsVersion=33.0.2
|
||||
@@ -36,5 +36,5 @@ androidx_work_version=2.8.1
|
||||
|
||||
## Common
|
||||
|
||||
version=2.2.1
|
||||
android_code_version=31
|
||||
version=2.1.2
|
||||
android_code_version=29
|
||||
|
||||
@@ -108,19 +108,13 @@ internal fun NearDateTimeCalculatorDays(
|
||||
} else {
|
||||
dateTime
|
||||
})
|
||||
val newDateTime = dateTime.copy(
|
||||
dateTime.copy(
|
||||
dayOfMonth = min(dateTime.month.days(dateTime.year), newOne.toInt() + 1), // index1
|
||||
hour = 0,
|
||||
minute = 0,
|
||||
second = 0,
|
||||
milliseconds = 0
|
||||
)
|
||||
// If day of month has not been changed, use old dateTime due to no changes required
|
||||
if (newDateTime.dayOfMonth == dateTime.dayOfMonth) {
|
||||
dateTime
|
||||
} else {
|
||||
newDateTime
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user