src/eric7/UI/UserInterface.py

branch
eric7-maintenance
changeset 10148
31ba20629af4
parent 10079
0222a480e93d
parent 10124
834c76d6ab4d
child 10174
6aac1022f330
diff -r 6ae4d88c722b -r 31ba20629af4 src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Sun Jul 02 17:40:17 2023 +0200
+++ b/src/eric7/UI/UserInterface.py	Tue Aug 01 09:59:45 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