Skip to content

Commit 7aca851

Browse files
authored
Fixed 00:00 bug
Fixed a bug where editing a task with time 11:59 would show 00, 00 in the entries for hours and minutes https://user-images.githubusercontent.com/68178267/161445123-52084fe5-88d1-403f-afe1-762b9561d272.png
1 parent 7ca7ce5 commit 7aca851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasky_gui.pyw

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ class App:
899899
hours_var_tk.set("12")
900900
if p1s[4] == "00":
901901
am_pm_var.set("PM/Night")
902-
elif int(p1s[3]) in range(12, 23):
902+
elif int(p1s[3]) in range(12, 24):
903903
hours_var_tk.set(str(int(p1s[3]) - 12).zfill(2))
904904
if p1s[3] == "12":
905905
hours_var_tk.set("12")

0 commit comments

Comments
 (0)