src/eric7/UI/UserInterface.py

branch
eric7
changeset 10124
834c76d6ab4d
parent 10069
435cc5875135
child 10148
31ba20629af4
child 10158
b5aadedf4214
diff -r 63fa9f81fc29 -r 834c76d6ab4d src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Fri Jul 21 15:35:23 2023 +0200
+++ b/src/eric7/UI/UserInterface.py	Sat Jul 22 14:26:35 2023 +0200
@@ -8264,7 +8264,7 @@
                     if lastCheck.isValid():
                         now = QDate.currentDate()
                         if (
-                            (period == 2 and lastCheck.day() == now.day())
+                            (period == 2 and lastCheck.daysTo(now) < 1)
                             or (period == 3 and lastCheck.daysTo(now) < 7)
                             or (
                                 period == 4

eric ide

mercurial