We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21fbde0 commit 2248e62Copy full SHA for 2248e62
src/main/java/com/machiav3lli/backup/Constants.kt
@@ -31,7 +31,7 @@ const val PREFS_SHARED_PRIVATE = "com.machiav3lli.backup"
31
const val ADMIN_PREFIX = "!-"
32
33
val COMPRESSION_TYPES = mapOf(
34
- "gz" to "Gzip Compression", // TODO translation?
+ "gz" to "Gzip Compression", // TODO translation?
35
"zst" to "Zstd Compression", // TODO translation?
36
"no" to "No Compression" // TODO translation?
37
)
src/main/java/com/machiav3lli/backup/utils/ScheduleUtils.kt
@@ -54,6 +54,8 @@ import java.time.LocalTime
54
import java.util.concurrent.TimeUnit
55
import kotlin.math.max
56
57
+// TODO revamp scheduling fully
58
+
59
fun calculateTimeToRun(schedule: Schedule, now: Long): Long {
60
val c = Calendar.getInstance()
61
c.timeInMillis = schedule.timePlaced
0 commit comments