(source: str, papers: List[Dict])
| 1192 | |
| 1193 | try: |
| 1194 | today = datetime.strptime(str(target_date or "").strip(), "%Y-%m-%d") if target_date else datetime.now() |
| 1195 | except ValueError: |
| 1196 | today = datetime.now() |
| 1197 | end_date = today.strftime("%Y%m%d") |
| 1198 | end_day = today.date() |
| 1199 |
no test coverage detected