mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Fixed: Release versions are lower in the custom apps.
* Changed the date format from `YYDDD0` to `yyDDD0` to accurately calculate the version code for the last day of the year as well.
This commit is contained in:
parent
ecc0c4e130
commit
fa031a4fde
@ -55,7 +55,7 @@ data class CustomApp(
|
||||
parsedJson.getAndCast("support_url") ?: ""
|
||||
)
|
||||
|
||||
val versionCode: Int = formatCurrentDate("YYDDD0").toInt()
|
||||
val versionCode: Int = formatCurrentDate("yyDDD0").toInt()
|
||||
|
||||
companion object {
|
||||
private fun readVersionOrInfer(parsedJson: JSONObject) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user