Fix bug when scheudling backups.

fork-5.53.8
Cody Henthorne 2022-10-13 15:42:29 -04:00 zatwierdzone przez Greyson Parrelli
rodzic a0172ddb2f
commit 033004719a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -52,7 +52,7 @@ public class LocalBackupListener extends PersistentAlarmManagerListener {
} else {
LocalDateTime now = LocalDateTime.now();
LocalDateTime next = now.withHour(2).withMinute(0).withSecond(0);
if (now.getHour() > 2) {
if (now.getHour() >= 2) {
next = next.plusDays(1);
}