mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-04 03:06:41 -04:00
Removed the testing date from code.
This commit is contained in:
parent
882784d0ea
commit
e0731197fc
@ -22,7 +22,7 @@ import java.time.temporal.ChronoUnit
|
|||||||
object GenerateVersionCode {
|
object GenerateVersionCode {
|
||||||
fun getVersionCode(): Int {
|
fun getVersionCode(): Int {
|
||||||
// the date when the automatic version code generation started
|
// the date when the automatic version code generation started
|
||||||
val lastDate = LocalDate.of(2020, 7, 17)
|
val lastDate = LocalDate.of(2024, 7, 17)
|
||||||
|
|
||||||
// Calculate the number of days between the lastDate and today's date.
|
// Calculate the number of days between the lastDate and today's date.
|
||||||
// This gives us the total number of days since the last version code was set.
|
// This gives us the total number of days since the last version code was set.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user