Update calendar_app.py
Browse files- calendar_app.py +5 -0
calendar_app.py
CHANGED
|
@@ -101,6 +101,11 @@ class Calendar:
|
|
| 101 |
for i,(dt,event_description) in enumerate(self.reminders.items()):
|
| 102 |
dt = datetime.datetime.strptime(dt, '%Y-%m-%d')
|
| 103 |
dt_month = dt.month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
if user_mth == dt_month:
|
| 105 |
print(f"{print_counter}. {dt.date()} {event_description}")
|
| 106 |
print_counter+=1
|
|
|
|
| 101 |
for i,(dt,event_description) in enumerate(self.reminders.items()):
|
| 102 |
dt = datetime.datetime.strptime(dt, '%Y-%m-%d')
|
| 103 |
dt_month = dt.month
|
| 104 |
+
|
| 105 |
+
print(f"user_mth: {user_mth}")
|
| 106 |
+
print(f"dt: {dt}")
|
| 107 |
+
print(f"dt_month: {dt_month}")
|
| 108 |
+
|
| 109 |
if user_mth == dt_month:
|
| 110 |
print(f"{print_counter}. {dt.date()} {event_description}")
|
| 111 |
print_counter+=1
|