Logbook event date edit

This commit is contained in:
2025-04-23 08:58:32 +02:00
parent 4c5c7bcf1a
commit 0d3be20e1e
6 changed files with 47 additions and 37 deletions

View File

@@ -16,4 +16,8 @@ class Logbook(val name: String) {
fun trim() {
logs.subList(MAX_SAFE_LOGBOOK_SIZE/2, logs.size).clear()
}
fun sort() {
logs.sortDescending()
}
}