Spaces:
Sleeping
Sleeping
jarajpu
commited on
Commit
·
501d4f5
1
Parent(s):
7a08239
Adding yesterday match
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ def get_current_date_ist():
|
|
| 110 |
def get_today_matches():
|
| 111 |
today = get_current_date_ist()
|
| 112 |
matches = load_data(MATCHES_JSON)
|
| 113 |
-
today_matches = [match for match in matches if match['date'] == today]
|
| 114 |
return today_matches
|
| 115 |
|
| 116 |
|
|
|
|
| 110 |
def get_today_matches():
|
| 111 |
today = get_current_date_ist()
|
| 112 |
matches = load_data(MATCHES_JSON)
|
| 113 |
+
today_matches = [match for match in matches if match['date'] == today or match['date'] == '2024-04-22']
|
| 114 |
return today_matches
|
| 115 |
|
| 116 |
|