Merge pull request #276 from lurch/patch-2

badger2040: Only 24 hours in a day (not 60)
pull/288/head
Philip Howard 2022-03-09 12:02:45 +00:00 zatwierdzone przez GitHub
commit a5e719ee27
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -65,7 +65,7 @@ def button(pin):
day = min(max(day, 1), 31)
if cursors[cursor] == "hour":
hour += adjust
hour %= 60
hour %= 24
if cursors[cursor] == "minute":
minute += adjust
minute %= 60